github.com/coder/websocket.DialOptions.Subprotocols (field)
5 uses
github.com/coder/websocket (current package)
dial.go#L37: Subprotocols []string
dial.go#L216: if len(opts.Subprotocols) > 0 {
dial.go#L217: req.Header.Set("Sec-WebSocket-Protocol", strings.Join(opts.Subprotocols, ","))
dial.go#L262: 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.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |