proxy_buffering

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDisableProxyBuffering

func GetDisableProxyBuffering(r *http.Request) bool

func WithDisableProxyBuffering

func WithDisableProxyBuffering(r *http.Request, disabled bool) *http.Request

Types

type Config

type Config struct {
	DisableProxyBuffering bool `json:"disable_proxy_buffering,omitempty"`
}

func (*Config) DescribeResponseMode

func (c *Config) DescribeResponseMode() (base.ResponseModeDescriptor, error)

type Plugin

type Plugin struct {
	base.BasePlugin
	// contains filtered or unexported fields
}

func (*Plugin) Config

func (p *Plugin) Config() any

func (*Plugin) Handler

func (p *Plugin) Handler(next http.Handler) http.Handler

func (*Plugin) Init

func (p *Plugin) Init() error

func (*Plugin) PostInit

func (p *Plugin) PostInit() error

func (*Plugin) WrapStreamingResponse

func (p *Plugin) WrapStreamingResponse(w http.ResponseWriter, _ *http.Request) (http.ResponseWriter, error)

Jump to

Keyboard shortcuts

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