MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / getMsgpackUnpacker

Method getMsgpackUnpacker

src/Connection/Connection.py:202–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

200 self.messageLoop()
201
202 def getMsgpackUnpacker(self):
203 if self.handshake and self.handshake.get("use_bin_type"):
204 return Msgpack.getUnpacker(fallback=True, decode=False)
205 else: # Backward compatibility for <0.7.0
206 return Msgpack.getUnpacker(fallback=True, decode=True)
207
208 # Message loop for connection
209 def messageLoop(self):

Callers 2

messageLoopMethod · 0.95
setHandshakeMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected