MCPcopy
hub / github.com/coder/websocket / closeWithInternal

Method closeWithInternal

ws_js.go:127–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125}
126
127func (c *Conn) closeWithInternal() {
128 c.Close(StatusInternalError, "something went wrong")
129}
130
131// Read attempts to read a message from the connection.
132// The maximum time spent waiting is bounded by the context.

Callers 2

initMethod · 0.95
WriteMethod · 0.95

Calls 1

CloseMethod · 0.95

Tested by

no test coverage detected