Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
All the traits supported by WebGear.
Synopsis
- module WebGear.Core.Trait.Auth.Basic
- module WebGear.Core.Trait.Auth.JWT
- module WebGear.Core.Trait.Auth.Common
- module WebGear.Core.Trait.Body
- module WebGear.Core.Trait.Cookie
- module WebGear.Core.Trait.Header
- module WebGear.Core.Trait.Method
- module WebGear.Core.Trait.Path
- module WebGear.Core.Trait.QueryParam
- module WebGear.Core.Trait.Status
- type StdHandler h m = (Handler h m, Gets h [Method, Path, PathEnd], Sets h '[Status, Body PlainText String, Body PlainText Text, Body PlainText Text, RequiredResponseHeader "Content-Type" Text])
Documentation
module WebGear.Core.Trait.Auth.JWT
module WebGear.Core.Trait.Body
module WebGear.Core.Trait.Cookie
module WebGear.Core.Trait.Header
module WebGear.Core.Trait.Method
module WebGear.Core.Trait.Path
module WebGear.Core.Trait.Status
type StdHandler h m = (Handler h m, Gets h [Method, Path, PathEnd], Sets h '[Status, Body PlainText String, Body PlainText Text, Body PlainText Text, RequiredResponseHeader "Content-Type" Text]) Source #
Constraints that include a set of common traits for handlers.
The type variables are:
h
- The handler arrowm
- The underlying monad of the handler