PyDocs

Nav

Networking and Interprocess Communication

loop.sock_sendfile

asyncio

async method · Added in 3.7not WASI
  • loop.sock_sendfile(sock, file, offset=0, count=None, *, fallback=True)
Send a file using high-performance os.sendfile if possible. Return the total number of bytes sent.
0 Examples
No examples for asyncio/loop.sock_sendfile.
See Also
No see-alsos for asyncio/loop.sock_sendfile
0 Notes
No notes for loop.sock_sendfile