webgear-server-0.1.0: Composable, type-safe library to build HTTP API servers
Copyright(c) Raghu Kaippully 2020
LicenseMPL-2.0
Maintainerrkaippully@gmail.com
Safe HaskellNone
LanguageHaskell2010

WebGear.Trait.Body

Description

Traits related to HTTP body.

Synopsis

Documentation

data JSONRequestBody (t :: Type) Source #

A Trait for converting a JSON request body into a value.

Instances

Instances details
(FromJSON t, MonadIO m) => Trait (JSONRequestBody t :: Type) Request m Source # 
Instance details

Defined in WebGear.Trait.Body

type Val (JSONRequestBody t :: Type) Request Source # 
Instance details

Defined in WebGear.Trait.Body

type Fail (JSONRequestBody t :: Type) Request Source # 
Instance details

Defined in WebGear.Trait.Body