Skip to content

Commit

Permalink
add unix transport
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 authored and frederikaalund committed Aug 1, 2024
1 parent 61ed18f commit 650699a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiomqtt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class Client:
client when it disconnects. If ``False``, the client is a persistent client
and subscription information and queued messages will be retained when the
client disconnects.
transport: The transport protocol to use. Either ``"tcp"`` or ``"websockets"``.
transport: The transport protocol to use. Either ``"tcp"``, ``"websockets"`` or ``"unix"``.
timeout: The default timeout for all communication with the broker in seconds.
keepalive: The keepalive timeout for the client in seconds.
bind_address: The IP address of a local network interface to bind this client
Expand Down Expand Up @@ -190,7 +190,7 @@ def __init__( # noqa: C901, PLR0912, PLR0913, PLR0915
protocol: ProtocolVersion | None = None,
will: Will | None = None,
clean_session: bool | None = None,
transport: Literal["tcp", "websockets"] = "tcp",
transport: Literal["tcp", "websockets", "unix"] = "tcp",
timeout: float | None = None,
keepalive: int = 60,
bind_address: str = "",
Expand Down

0 comments on commit 650699a

Please sign in to comment.