MCPcopy Index your code
hub / github.com/python-websockets/websockets / send

Method send

src/websockets/sync/client.py:618–619  ·  view source on GitHub ↗
(self, data: BytesLike)

Source from the content-addressed store, hash-verified

616 return b"" # always ignore ragged EOFs
617
618 def send(self, data: BytesLike) -> int:
619 return self.run_io(self.ssl_object.write, data)
620
621 def sendall(self, data: BytesLike) -> None:
622 # adapted from ssl_module.SSLSocket.sendall()

Callers 15

sendallMethod · 0.95
handlerFunction · 0.45
helloFunction · 0.45
echoFunction · 0.45
helloFunction · 0.45
helloFunction · 0.45
initGameFunction · 0.45
sendMovesFunction · 0.45
errorFunction · 0.45
replayFunction · 0.45
startFunction · 0.45
sendMovesFunction · 0.45

Calls 1

run_ioMethod · 0.95

Tested by

no test coverage detected