NewWebSocketProxy creates a new WebSocket proxy with the given configuration.
(config *ProxyConfig)
| 57 | |
| 58 | // NewWebSocketProxy creates a new WebSocket proxy with the given configuration. |
| 59 | func NewWebSocketProxy(config *ProxyConfig) *WebSocketProxy { |
| 60 | return NewWebSocketProxyWithSession(config, nil) |
| 61 | } |
| 62 | |
| 63 | // NewWebSocketProxyWithSession creates a new WebSocket proxy with session notifications. |
| 64 | func NewWebSocketProxyWithSession(config *ProxyConfig, session SessionNotifier) *WebSocketProxy { |
nothing calls this directly
no test coverage detected