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)