Unix Domain Socket Example ​
HTTPX does not provide Unix domain socket (AF_UNIX) listeners or dialing: Server binds TCP (host/port, .port = 0 for ephemeral) and the client dials TCP champions. For same-machine IPC, bind to loopback instead:
zig
var server = try httpx.Server.init(allocator, io, .{
.host = "127.0.0.1",
.port = 0,
});
defer server.deinit();
const port = server.localPort();See TCP Local for a loopback round trip and Simple Server for the standard lifecycle.
