MCPcopy
hub / github.com/aceld/zinx / Stop

Method Stop

znet/ws_connection.go:312–314  ·  view source on GitHub ↗

Stop stops the connection and ends its current state. (停止连接,结束当前连接状态)

()

Source from the content-addressed store, hash-verified

310// Stop stops the connection and ends its current state.
311// (停止连接,结束当前连接状态)
312func (c *WsConnection) Stop() {
313 c.cancel()
314}
315
316func (c *WsConnection) GetConnection() net.Conn {
317 return nil

Callers 1

StartReaderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected