Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = &Transport{}
Default is default transport.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct { ReadBufferSize int WriteBufferSize int Subprotocols []string TLSClientConfig *tls.Config HandshakeTimeout time.Duration Proxy func(*http.Request) (*url.URL, error) NetDial func(network, addr string) (net.Conn, error) CheckOrigin func(r *http.Request) bool }
Transport is websocket transport.
Click to show internal directories.
Click to hide internal directories.