asyncio.open_unix_connection
Prev: asyncio.open_connection | Up: asyncio | Next: asyncio.print_call_graph
Rel: asyncio.AbstractEventLoop, asyncio.AbstractServer, asyncio.all_tasks, asyncio.as_completed
Ref: docs.python.org — asyncio.open_unix_connection
Tags: #public #python3 #stdlib #asyncio
Import
import asyncio
from asyncio import open_unix_connection
Signature & Overview
asyncio.open_unix_connection(path=None, *, limit=65536, **kwds)
Similar to open_connection but works with UNIX Domain Sockets.
Usage
import asyncio
# Unix domain socket counterpart to open_connection()
assert hasattr(asyncio, "open_unix_connection")
Gotchas
- Unix-only: Connects to a local filesystem Unix socket path; unavailable on Windows.
REPL Inspect
from asyncio import open_unix_connection
help(open_unix_connection)
Linked from
Related notes
- tuts/python3/stdlib_module/asyncio/open_connection Linked here; links to this page; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/print_call_graph Linked here; links to this page; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/asyncio/AbstractEventLoop Linked here; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/AbstractServer Linked here; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/all_tasks Linked here; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/as_completed Linked here; shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/Barrier shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/BaseEventLoop shared tags: #asyncio, #stdlib
- tuts/python3/stdlib_module/asyncio/BaseProtocol shared tags: #asyncio, #stdlib