runtimeproxy

package
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 New added in v0.11.0

func New(opts Options) (*flowersec.ProxyServer, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL