MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / NewWebSocketProxyWithSession

Function NewWebSocketProxyWithSession

internal/vnc/proxy.go:64–66  ·  view source on GitHub ↗

NewWebSocketProxyWithSession creates a new WebSocket proxy with session notifications.

(config *ProxyConfig, session SessionNotifier)

Source from the content-addressed store, hash-verified

62
63// NewWebSocketProxyWithSession creates a new WebSocket proxy with session notifications.
64func 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.
69func NewWebSocketProxyWithSessionAndLogger(config *ProxyConfig, session SessionNotifier, sharedLogger *logger.Logger) *WebSocketProxy {

Callers 1

NewWebSocketProxyFunction · 0.85

Tested by

no test coverage detected