MCPcopy Create free account
hub / github.com/bytemode/pitaya-notes / SetPacketDecoder

Function SetPacketDecoder

app.go:211–213  ·  view source on GitHub ↗

SetPacketDecoder changes the decoder used to parse messages received 设置自己的packetdecoder

(d codec.PacketDecoder)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestSetPacketDecoderFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestSetPacketDecoderFunction · 0.68