Documentation
¶
Index ¶
- Constants
- func New(opts Options) (*flowersec.ProxyServer, error)
- func ProductBlockedResponseHeaders() []string
- func Register(handlers *flowersec.SessionHandlers, opts Options) (*flowersec.ProxyServer, error)
- func RegisterStreamHandlers(handlers flowersec.StreamHandlerRegistrar, opts Options) (*flowersec.ProxyServer, error)
- type Options
Constants ¶
View Source
const ( PresetID = "redeven-runtime" MaxWSFrameBytes = 32 * 1024 * 1024 )
Variables ¶
This section is empty.
Functions ¶
func ProductBlockedResponseHeaders ¶ added in v0.8.1
func ProductBlockedResponseHeaders() []string
func Register ¶
func Register(handlers *flowersec.SessionHandlers, opts Options) (*flowersec.ProxyServer, error)
func RegisterStreamHandlers ¶ added in v0.11.0
func RegisterStreamHandlers(handlers flowersec.StreamHandlerRegistrar, opts Options) (*flowersec.ProxyServer, error)
RegisterStreamHandlers binds the product proxy to Flowersec's role-neutral application stream registry. Remote Connector sessions must use this boundary; Register remains for accepted Local UI sessions.
Types ¶
type Options ¶ added in v0.11.0
type Options struct {
Upstream string
UpstreamOrigin string
DefaultHTTPRequestTimeout time.Duration
MaxHTTPRequestTimeout time.Duration
MaxConcurrentStreams int
MaxBodyBytes int64
BlockedResponseHeaders []string
ExtraRequestHeaders []string
ExtraResponseHeaders []string
ExtraWebSocketHeaders []string
ForbiddenCookieNames []string
ForbiddenCookieNamePrefixes []string
OnError func(error)
}
Options is the Redeven-owned policy subset applied to Flowersec's public carrier-neutral ProxyServer.
Click to show internal directories.
Click to hide internal directories.