Documentation
¶
Overview ¶
Package websocket implements Websocket transport
Websocket transport implements an HTTP(S) compliable, surveillance proof transport method with plausible deniability.
Index ¶
- func Dial(ctx context.Context, dest net.Destination, config *WebsocketConfig, ...) (net.Conn, error)
- func NewWebsocketDialer(config *WebsocketConfig, engine security.Engine, socketConfig i.Dialer) *websocketDialer
- type DelayedDialer
- type DelayedDialerForwarded
- type Header
- type Listener
- type WebsocketConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
func Dial(ctx context.Context, dest net.Destination, config *WebsocketConfig, securityConfig security.Engine, so i.Dialer) (net.Conn, error)
Dial dials a WebSocket connection to the given destination.
func NewWebsocketDialer ¶
func NewWebsocketDialer(config *WebsocketConfig, engine security.Engine, socketConfig i.Dialer) *websocketDialer
Types ¶
type DelayedDialer ¶
type DelayedDialerForwarded ¶
type DelayedDialerForwarded interface {
Dial(earlyData []byte) (io.ReadWriteCloser, error)
}
type WebsocketConfig ¶
type WebsocketConfig = wspb.WebsocketConfig
Click to show internal directories.
Click to hide internal directories.