REST APIs over Unix sockets

Hi folks, as the title suggests, I'd like to put together a simple client/server setup over sockets (http not an option unfortunately) and I'm curious if anything like this exists. The docker client seems to be able to parse REST directives like GET, POST etc over a unix socket so I'm curious if there's any combination of crates that'll get me there.


hyper + hyperlocal can talk HTTP over UDS.

Actix 0.7 used to have UDS client and server, but in 1.0 it has only server support for UDS.

If you really meant "http not an option unfortunately" (rather than tcp), then you could pick some serialization format (there's plenty) and make your own client/server using raw sockets.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.