Function hyper::http::read_http_version
[-] [+]
[src]
pub fn read_http_version<R: Read>(stream: &mut R) -> HttpResult<HttpVersion>
Read the HttpVersion
from a raw stream, such as HTTP/1.1
.