Skip to main content

Module unix

Module unix 

Source
Expand description

Unix-domain-socket qmux transport, reachable via the unix:// URL scheme.

Runs the QMux wire format over an AF_UNIX stream. Unlike the tcp:// transport, the kernel reports the connecting process’s credentials (SO_PEERCRED / LOCAL_PEERCRED), so a server can authenticate the peer’s uid/gid/pid without a shared secret. Unix-only.

Structs§

Listener
Listens for incoming qmux connections on a Unix domain socket.
PeerCred
Credentials of a connected Unix-socket peer.

Enums§

Error
Errors specific to the Unix-domain-socket qmux transport.