Static Propertyvapor 4.114.1Vapor

httpUnixDomainSocket

HyperText Transfer Protocol (HTTP) over Unix Domain Sockets.

URI.swift:261
static let httpUnixDomainSocket: Self

The socket path must be given as the URI’s “host” component, appropriately percent-encoded. The init(scheme:userinfo:host:port:path:query:fragment:) initializer adds such encoding automatically. To manually apply the correct encoding, use:

socketPath.addingPercentEncoding(withAllowedCharacters: .urlHostAllowed)

Registration: None (non-standard)