MCPcopy Index your code
hub / github.com/Syncplay/syncplay / sendMessage

Method sendMessage

syncplay/protocols.py:57–60  ·  view source on GitHub ↗
(self, dict_)

Source from the content-addressed store, hash-verified

55 self.handleMessages(messages)
56
57 def sendMessage(self, dict_):
58 line = json.dumps(dict_)
59 self.sendLine(line.encode('utf-8'))
60 self.showDebugMessage("client/server >> {}".format(line))
61
62 def drop(self):
63 self.transport.loseConnection()

Callers 15

changeToPlaylistIndexMethod · 0.80
sendHelloMethod · 0.80
sendSetMethod · 0.80
sendChatMessageMethod · 0.80
sendListMethod · 0.80
sendStateMethod · 0.80
sendErrorMethod · 0.80
sendTLSMethod · 0.80
sendHelloMethod · 0.80
sendSetMethod · 0.80
sendListMethod · 0.80
sendStateMethod · 0.80

Calls 2

sendLineMethod · 0.45
showDebugMessageMethod · 0.45

Tested by

no test coverage detected