Skip to main content

H1Service

Type Alias H1Service 

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

Aliased Type§

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

Trait Implementations§

Source§

impl<St, Io, S, B, A, const HEADER_LIMIT: usize, const READ_BUF_LIMIT: usize, const WRITE_BUF_LIMIT: usize> Service<(St, SocketAddr)> for H1Service<St, Io, S, A, HEADER_LIMIT, READ_BUF_LIMIT, WRITE_BUF_LIMIT>
where S: Service<Request<RequestExt<RequestBody>>, Response = Response<B>>, A: Service<St>, A::Response: AsyncBufRead + AsyncBufWrite + 'static, B: Body<Data = Bytes>, HttpServiceError<S::Error, B::Error>: From<A::Error>,

Source§

type Response = ()

The Ok part of output future.
Source§

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

The Err part of output future.
Source§

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