Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ newSocketConn
Function
newSocketConn
internal/codespaces/connection/tunnels_api_server_mock.go:448–450 ·
view source on GitHub ↗
(conn *websocket.Conn)
Source
from the content-addressed store, hash-verified
446
}
447
448
func
newSocketConn(conn *websocket.Conn) *socketConn {
449
return
&socketConn{Conn: conn}
450
}
451
452
func
(s *socketConn) Read(b []byte) (int, error) {
453
s.readMutex.Lock()
Callers
1
makeConnection
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected