Function grin_api::parse_body
source · pub async fn parse_body<T>(req: Request<Body>) -> Result<T, Error>where
for<'de> T: Deserialize<'de> + Send + 'static,
Expand description
Parse request body
pub async fn parse_body<T>(req: Request<Body>) -> Result<T, Error>where
for<'de> T: Deserialize<'de> + Send + 'static,
Parse request body