nhooyr.io/websocket.DialOptions.Subprotocols (field)
5 uses
nhooyr.io/websocket (current package)
dial.go#L38: Subprotocols []string
dial.go#L199: if len(opts.Subprotocols) > 0 {
dial.go#L200: req.Header.Set("Sec-WebSocket-Protocol", strings.Join(opts.Subprotocols, ","))
dial.go#L245: err := verifySubprotocol(opts.Subprotocols, resp)
github.com/gotd/td/telegram/dcs
websocket.go#L81: m.DialOptions = &websocket.DialOptions{Subprotocols: []string{
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |