MCPcopy
hub / github.com/lxc/incus / forwardedOperationWebSocket

Struct forwardedOperationWebSocket

internal/server/operations/websocket.go:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48type forwardedOperationWebSocket struct {
49 req *http.Request
50 id string
51 source *websocket.Conn // Connection to the node were the operation is running
52}
53
54// ForwardedOperationWebSocket returns a new forwarted websocket operation.
55func ForwardedOperationWebSocket(req *http.Request, id string, source *websocket.Conn) response.Response {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected