#unix-domain-socket #hyper #unix

hyper-socket

Unix Domain Socket connector for Hyper

3 unstable releases

0.2.0 Dec 13, 2019
0.2.0-alpha.1 Sep 13, 2019
0.1.0 Sep 13, 2019

#32 in #unix-domain-socket


Used in shipshape

Apache-2.0

7KB
76 lines

hyper-socket

crates.io Released API docs

A tiny Hyper Connector for Unix domain sockets.


lib.rs:

This crate provides an instance of Connect which communicates over a local Unix Domain Socket rather than TCP.

Numerous system daemons expose such sockets but use HTTP in order to unify their local and remote RPC APIs (such as Consul). This connector is a mean to communicate with those services.

NB: As sockets are named by a file path and not a DNS name, the hostname of any requests are not used for initiating a connection-- all requests, regardless of the intended destination, are routed to the same socket.

Dependencies

~10MB
~169K SLoC