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)