MCPcopy Index your code
hub / github.com/coder/coder / Close

Method Close

coderd/workspaceapps/proxy.go:835–838  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

833}
834
835func (c *wsNetConn) Close() error {
836 defer c.cancel()
837 return c.Conn.Close()
838}
839
840// WebsocketNetConn wraps websocket.NetConn and returns a context that
841// is tied to the parent context and the lifetime of the conn. Any error

Callers

nothing calls this directly

Calls 2

CloseMethod · 0.65
cancelMethod · 0.45

Tested by

no test coverage detected