Versions in this module Expand all Collapse all v25 v25.1.30 Jan 31, 2025 v25.1.1 Jan 1, 2025 Changes in this version + var File_transport_internet_websocket_config_proto protoreflect.FileDescriptor + func Dial(ctx context.Context, dest net.Destination, ...) (stat.Connection, error) + func ListenWS(ctx context.Context, address net.Address, port net.Port, ...) (internet.Listener, error) + func NewConnection(conn *websocket.Conn, remoteAddr net.Addr, extraReader io.Reader, ...) *connection + type Config struct + AcceptProxyProtocol bool + Ed uint32 + Header map[string]string + HeartbeatPeriod uint32 + Host string + Path string + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (c *Config) GetNormalizedPath() string + func (c *Config) GetRequestHeader() http.Header + func (x *Config) GetAcceptProxyProtocol() bool + func (x *Config) GetEd() uint32 + func (x *Config) GetHeader() map[string]string + func (x *Config) GetHeartbeatPeriod() uint32 + func (x *Config) GetHost() string + func (x *Config) GetPath() string + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type Listener struct + func (ln *Listener) Addr() net.Addr + func (ln *Listener) Close() error Other modules containing this package github.com/xmplusdev/xray-core github.com/xmplusdev/xray-core/v24