Documentation
¶
Index ¶
- Constants
- func EnvAppRequestHeaders() []string
- func EnvAppResponseHeaders() []string
- func New(opts Options) (*flowersec.ProxyServer, error)
- func ProductBlockedResponseHeaders() []string
- func RegisterStreamHandlers(handlers flowersec.StreamHandlerRegistrar, opts Options) (*flowersec.ProxyServer, error)
- type Options
Constants ¶
View Source
const ( PresetID = "redeven-runtime" MaxWSFrameBytes = 32 * 1024 * 1024 // EnvAppMaxBodyBytes preserves the published plugin package upload contract. EnvAppMaxBodyBytes = externalsource.MaxArtifactBytes )
Variables ¶
This section is empty.
Functions ¶
func EnvAppRequestHeaders ¶ added in v0.13.0
func EnvAppRequestHeaders() []string
EnvAppRequestHeaders is shared by the issuer scope and the session server.
func EnvAppResponseHeaders ¶ added in v0.13.0
func EnvAppResponseHeaders() []string
EnvAppResponseHeaders carries product attachment authorization to native clients.
func ProductBlockedResponseHeaders ¶ added in v0.8.1
func ProductBlockedResponseHeaders() []string
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.
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.