Documentation ¶
Index ¶
- Variables
- func BufioWriterBuffer(originalWriter io.Writer, bw *bufio.Writer) []byte
- func CloneTLSConfig(cfg *tls.Config) *tls.Config
- func ComputeAcceptKey(challengeKey string) string
- func DoHandshake(ctx context.Context, tlsConn *tls.Conn, cfg *tls.Config) error
- func HostPortNoPort(u *url.URL) (hostPort, hostNoPort string)
- func TokenListContainsValue(header http.Header, name string, value string) bool
- func ValidCookieDomain(v string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidCompression = errors.New("websocket: invalid compression negotiation")
View Source
var ErrMalformedURL = errors.New("malformed ws or wss URL")
Functions ¶
func BufioWriterBuffer ¶
bufioWriterBuffer grabs the buffer from a bufio.Writer.
func ComputeAcceptKey ¶
func HostPortNoPort ¶
func TokenListContainsValue ¶
func ValidCookieDomain ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.