Case
OnionPortTarget.unix(path:)
Forward to a Unix domain socket on the local filesystem.
case unix(path: String)
Parameters
-
path
-
Absolute filesystem path to the Unix socket.
Discussion
Renders to Tor’s unix:<path> target form. The socket must exist at the time inbound connections arrive; Tor creates no file system entries on your behalf. Useful for integrating with backend daemons that accept connections on a named socket only.