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