MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / sendall

Function sendall

pymongo/network_layer.py:238–239  ·  view source on GitHub ↗
(sock: Union[socket.socket, _sslConn], buf: bytes)

Source from the content-addressed store, hash-verified

236
237
238def sendall(sock: Union[socket.socket, _sslConn], buf: bytes) -> None:
239 sock.sendall(buf)
240
241
242async def _poll_cancellation(conn: AsyncConnection) -> None:

Callers 3

commandFunction · 0.90
kms_requestMethod · 0.90
send_messageMethod · 0.90

Calls 1

sendallMethod · 0.80

Tested by

no test coverage detected