mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: consolidate websocketNetConn implementations (#12065)
Consolidates websocketNetConn from multiple packages in favor of a central one in codersdk
This commit is contained in:
@ -57,7 +57,7 @@ func (api *API) workspaceProxyCoordinate(rw http.ResponseWriter, r *http.Request
|
||||
return
|
||||
}
|
||||
|
||||
ctx, nc := websocketNetConn(ctx, conn, msgType)
|
||||
ctx, nc := codersdk.WebsocketNetConn(ctx, conn, msgType)
|
||||
defer nc.Close()
|
||||
|
||||
id := uuid.New()
|
||||
|
Reference in New Issue
Block a user