NewWebSocketProxyWithSession creates a new WebSocket proxy with session notifications.
(config *ProxyConfig, session SessionNotifier)
| 62 | |
| 63 | // NewWebSocketProxyWithSession creates a new WebSocket proxy with session notifications. |
| 64 | func NewWebSocketProxyWithSession(config *ProxyConfig, session SessionNotifier) *WebSocketProxy { |
| 65 | return NewWebSocketProxyWithSessionAndLogger(config, session, nil) |
| 66 | } |
| 67 | |
| 68 | // NewWebSocketProxyWithSessionAndLogger creates a new WebSocket proxy with session notifications and shared logger. |
| 69 | func NewWebSocketProxyWithSessionAndLogger(config *ProxyConfig, session SessionNotifier, sharedLogger *logger.Logger) *WebSocketProxy { |
no test coverage detected