WithWebSocketDialer replaces the outbound carrier dialer.
func WithWebSocketDialer(dialer *websocket.Dialer) ClientOptionWithWebSocketDialer replaces the outbound carrier dialer. The connector still restricts the WebSocket negotiation to its single wire subprotocol.
| Name | Type | Description |
|---|---|---|
dialer* | *websocket.Dialer |