siwi 0.0.1

A minimal Rust web application framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::Error;
use crate::Response;
use bytes::Bytes;
use http_body_util::Full;
use hyper::body::Incoming;

pub type AnyResult<T> = anyhow::Result<T, anyhow::Error>;
pub type Result<T = Response> = std::result::Result<T, Error>;

pub type HyperResponse = hyper::Response<Full<Bytes>>;
pub type HyperRequest = hyper::Request<Incoming>;