httpupgrade

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transport_protocols_httpupgrade_config_proto protoreflect.FileDescriptor

Functions

func Listen

func Listen(ctx context.Context, addr net.Destination,
	config *HttpUpgradeConfig, li i.Listener,
	ch func(net.Conn)) (*server, error)

func NewHttpUpgradeDialer

func NewHttpUpgradeDialer(config *HttpUpgradeConfig, engine security.Engine, socketSetting i.Dialer) *httpupgradeDialer

Types

type HttpUpgradeConfig

type HttpUpgradeConfig struct {
	Config *websocket.WebsocketConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpUpgradeConfig) Descriptor deprecated

func (*HttpUpgradeConfig) Descriptor() ([]byte, []int)

Deprecated: Use HttpUpgradeConfig.ProtoReflect.Descriptor instead.

func (*HttpUpgradeConfig) GetConfig

func (*HttpUpgradeConfig) GetNormalizedPath

func (c *HttpUpgradeConfig) GetNormalizedPath() string

func (*HttpUpgradeConfig) ProtoMessage

func (*HttpUpgradeConfig) ProtoMessage()

func (*HttpUpgradeConfig) ProtoReflect

func (x *HttpUpgradeConfig) ProtoReflect() protoreflect.Message

func (*HttpUpgradeConfig) Reset

func (x *HttpUpgradeConfig) Reset()

func (*HttpUpgradeConfig) String

func (x *HttpUpgradeConfig) String() string

Jump to

Keyboard shortcuts

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