MCPcopy
hub / github.com/davyxu/cellnet / OnSendMessage

Method OnSendMessage

processor.go:20–20  ·  view source on GitHub ↗

发送消息

(ses Session, msg interface{})

Source from the content-addressed store, hash-verified

18
19 // 发送消息
20 OnSendMessage(ses Session, msg interface{}) error
21}
22
23// 处理钩子(参数输入, 返回输出, 不给MessageProccessor处理时,可以将Event设置为nil)

Callers 1

SendMessageMethod · 0.65

Implementers 3

WSMessageTransmitterproc/gorillaws/transmitter.go
UDPMessageTransmitterproc/udp/setup.go
TCPMessageTransmitterproc/tcp/transmitter.go

Calls

no outgoing calls

Tested by

no test coverage detected