2 releases

0.1.1 Jan 31, 2022
0.1.0 Nov 15, 2021

#1001 in Unix APIs

MIT license

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–23MB
~399K SLoC