github.com/coder/websocket.DialOptions.HTTPClient (field)
11 uses
github.com/coder/websocket (current package)
dial.go#L27: HTTPClient *http.Client
dial.go#L75: if o.HTTPClient == nil {
dial.go#L76: o.HTTPClient = http.DefaultClient
dial.go#L78: if o.HTTPClient.Timeout > 0 {
dial.go#L79: ctx, cancel = context.WithTimeout(ctx, o.HTTPClient.Timeout)
dial.go#L81: newClient := *o.HTTPClient
dial.go#L83: o.HTTPClient = &newClient
dial.go#L88: newClient := *o.HTTPClient
dial.go#L89: oldCheckRedirect := o.HTTPClient.CheckRedirect
dial.go#L102: o.HTTPClient = &newClient
dial.go#L223: resp, err := opts.HTTPClient.Do(req)
![]() |
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. |