ngyn_shared 0.5.3

Modular backend framework for web applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod body;
pub mod context;
pub mod response;
pub mod transformer;

pub use self::response::{JsonResponse, JsonResult};
pub use body::ToBytes;
pub use bytes::Bytes;
pub use context::NgynContext;
pub use http::Method;
use http_body_util::Full;
pub use transformer::{Body, Param, Query, Transducer, Transformer};

pub type NgynRequest = http::Request<Vec<u8>>;
pub type NgynResponse = http::Response<Full<Bytes>>;