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

Function NewWebSocketProxy

internal/vnc/proxy.go:59–61  ·  view source on GitHub ↗

NewWebSocketProxy creates a new WebSocket proxy with the given configuration.

(config *ProxyConfig)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected