nyquest_interface/async.rs
1//! Asynchronous HTTP client interface.
2//!
3//! This module provides the interfaces and types necessary for asynchronous
4//! HTTP client implementations in nyquest.
5
6mod any;
7mod backend;
8mod body;
9
10pub use any::{AnyAsyncBackend, AnyAsyncClient, AnyAsyncResponse};
11pub use backend::{AsyncBackend, AsyncClient, AsyncResponse};
12pub use body::{Body, BoxedStream, SizedBodyStream, UnsizedBodyStream};
13/// Type alias for asynchronous HTTP requests.
14pub type Request = crate::Request<body::BoxedStream>;
15pub use futures_io;