2 releases
0.1.1 | Jan 31, 2022 |
---|---|
0.1.0 | Nov 15, 2021 |
#959 in Unix APIs
5KB
71 lines
actix-uds
is a custom connector for awc
Usage:
use awc::{ClientBuilder, Connector};
use awc_uds::UdsConnector;
let socket_path = Path::new("/run/my-server.sock");
let connector = Connector::new().connector(UdsConnector::new(socket_path));
let client = ClientBuilder::new().connector(connector).finish();
client.get("http://localhost/").send().await
Dependencies
~13–24MB
~415K SLoC