• Home
  • Raw
  • Download

Lines Matching +full:async +full:- +full:io

3 .. _asyncio-streams:
11 -------------------------------------------------
13 Streams are high-level async/await-ready primitives to work with
15 using callbacks or low-level protocols and transports.
24 async def tcp_echo_client(message):
47 The following top-level asyncio functions can be used to create
155 The *path* parameter can now be a :term:`path-like object`
185 The *path* parameter can now be a :term:`path-like object`.
200 from the IO stream. As an :term:`asynchronous iterable`, the
201 object supports the :keyword:`async for` statement.
207 .. coroutinemethod:: read(n=-1)
211 If *n* is not provided or set to ``-1``,
273 to the IO stream.
340 IO write buffer. When the size of the buffer reaches
349 Upgrade an existing stream-based connection to TLS.
385 .. _asyncio-tcp-echo-client-streams:
388 -----------------------------
394 async def tcp_echo_client(message):
415 example uses the low-level :meth:`loop.create_connection` method.
418 .. _asyncio-tcp-echo-server-streams:
421 -----------------------------
427 async def handle_echo(reader, writer):
442 async def main():
449 async with server:
462 ----------------
470 async def print_http_headers(url):
485 writer.write(query.encode('latin-1'))
512 .. _asyncio_example_create_connection-streams:
515 ------------------------------------------------------
523 async def wait_for_data():
525 # we want to access low-level APIs.
553 <asyncio_example_create_connection>` example uses a low-level protocol and
557 <asyncio_example_watch_fd>` example uses the low-level