#http #hyper #tokio #unix #socket

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

#17 in #unix-socket

Download history 4/week @ 2023-10-18 7/week @ 2023-10-25 9/week @ 2023-11-01 11/week @ 2023-11-08 8/week @ 2023-11-15 8/week @ 2023-11-22 12/week @ 2023-11-29 3/week @ 2023-12-06 7/week @ 2023-12-13 7/week @ 2023-12-20 6/week @ 2023-12-27 3/week @ 2024-01-03 8/week @ 2024-01-10 14/week @ 2024-01-17 6/week @ 2024-01-24 22/week @ 2024-01-31

51 downloads per month
Used in 2 crates

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
~166K SLoC