MCPcopy
hub / github.com/gorilla/websocket / Close

Method Close

conn.go:344–346  ·  view source on GitHub ↗

Close closes the underlying network connection without sending or waiting for a close message.

()

Source from the content-addressed store, hash-verified

342// Close closes the underlying network connection without sending or waiting
343// for a close message.
344func (c *Conn) Close() error {
345 return c.conn.Close()
346}
347
348// LocalAddr returns the local network address.
349func (c *Conn) LocalAddr() net.Addr {

Callers 15

UpgradeMethod · 0.45
DialMethod · 0.45
beginMessageMethod · 0.45
WriteMessageMethod · 0.45
NextReaderMethod · 0.45
DialMethod · 0.45
DialContextMethod · 0.45
WriteJSONMethod · 0.45
pumpStdinFunction · 0.45
pumpStdoutFunction · 0.45
serveWsFunction · 0.45
echoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected