water_http 4.0.3

fast web http framework that support http 1 and http 2 with very easy use
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use h2::RecvStream;
use http::Request;
use crate::server::HttpStream;

pub (crate) struct  H2StreamHolder<'a>{
    pub(crate)batch:&'a mut Request<RecvStream>,

}

pub (crate) struct H1StreamHolder<'a>{
    pub(crate)stream:&'a mut HttpStream,
    pub(crate)left_bytes:&'a [u8]
}