nhooyr.io/websocket.DialOptions.HTTPClient (field)
11 uses
nhooyr.io/websocket (current package)
dial.go#L28: HTTPClient *http.Client
dial.go#L60: if o.HTTPClient == nil {
dial.go#L61: o.HTTPClient = http.DefaultClient
dial.go#L63: if o.HTTPClient.Timeout > 0 {
dial.go#L64: ctx, cancel = context.WithTimeout(ctx, o.HTTPClient.Timeout)
dial.go#L66: newClient := *o.HTTPClient
dial.go#L68: o.HTTPClient = &newClient
dial.go#L73: newClient := *o.HTTPClient
dial.go#L74: oldCheckRedirect := o.HTTPClient.CheckRedirect
dial.go#L87: o.HTTPClient = &newClient
dial.go#L206: resp, err := opts.HTTPClient.Do(req)
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. |