runtimeproxy

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PresetID        = "redeven-runtime"
	MaxWSFrameBytes = 32 * 1024 * 1024
)

Variables

This section is empty.

Functions

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 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.

Jump to

Keyboard shortcuts

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