H1Service

Type Alias H1Service 

Source
pub type H1Service<St, S, A, const HEADER_LIMIT: usize, const READ_BUF_LIMIT: usize, const WRITE_BUF_LIMIT: usize> = HttpService<St, S, RequestBody, A, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>;

Aliased Type§

pub struct H1Service<St, S, A, const HEADER_LIMIT: usize, const READ_BUF_LIMIT: usize, const WRITE_BUF_LIMIT: usize> { /* private fields */ }

Trait Implementations§

Source§

impl<St, S, B, BE, A, const HEADER_LIMIT: usize, const READ_BUF_LIMIT: usize, const WRITE_BUF_LIMIT: usize> Service<(St, SocketAddr)> for H1Service<St, S, A, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>
where S: Service<Request<RequestExt<RequestBody>>, Response = Response<B>>, A: Service<St>, St: AsyncIo, A::Response: AsyncIo, B: Stream<Item = Result<Bytes, BE>>, HttpServiceError<S::Error, BE>: From<A::Error>,

Source§

type Response = ()

The Ok part of output future.
Source§

type Error = HttpServiceError<<S as Service<Request<RequestExt<RequestBody>>>>::Error, BE>

The Err part of output future.
Source§

async fn call( &self, __arg1: (St, SocketAddr), ) -> Result<Self::Response, Self::Error>