MCPcopy
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
448func newSocketConn(conn *websocket.Conn) *socketConn {
449 return &socketConn{Conn: conn}
450}
451
452func (s *socketConn) Read(b []byte) (int, error) {
453 s.readMutex.Lock()

Callers 1

makeConnectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected