You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Simplify the HTTP client building
Also supports loading the WebPKI roots instead of the native ones for TLS
This commit is contained in:
@@ -27,17 +27,15 @@
|
||||
#[cfg(feature = "client")]
|
||||
mod client;
|
||||
mod ext;
|
||||
mod future_service;
|
||||
mod layers;
|
||||
|
||||
#[cfg(feature = "client")]
|
||||
pub use self::client::client;
|
||||
pub use self::client::{client, make_untraced_client};
|
||||
pub use self::{
|
||||
ext::{
|
||||
set_propagator, CorsLayerExt, ServiceBuilderExt as HttpServiceBuilderExt,
|
||||
ServiceExt as HttpServiceExt,
|
||||
},
|
||||
future_service::FutureService,
|
||||
layers::{
|
||||
body_to_bytes_response::{self, BodyToBytesResponse, BodyToBytesResponseLayer},
|
||||
bytes_to_body_request::{self, BytesToBodyRequest, BytesToBodyRequestLayer},
|
||||
|
||||
Reference in New Issue
Block a user