mig-0.1.0.1: Build lightweight and composable servers
Safe HaskellSafe-Inferred
LanguageGHC2021

Mig.Html.IO

Description

Module for HTML-based servers

Synopsis

methods

newtype Get a Source #

Constructors

Get (IO a) 

Instances

Instances details
ToHtmlResp a => ToServer (Get a) Source # 
Instance details

Defined in Mig.Html.IO

Associated Types

type ServerMonad (Get a) :: Type -> Type Source #

Methods

toServer :: Get a -> Server (ServerMonad (Get a)) Source #

type ServerMonad (Get a) Source # 
Instance details

Defined in Mig.Html.IO

type ServerMonad (Get a) = IO

newtype Post a Source #

Constructors

Post (IO a) 

Instances

Instances details
ToHtmlResp a => ToServer (Post a) Source # 
Instance details

Defined in Mig.Html.IO

Associated Types

type ServerMonad (Post a) :: Type -> Type Source #

Methods

toServer :: Post a -> Server (ServerMonad (Post a)) Source #

type ServerMonad (Post a) Source # 
Instance details

Defined in Mig.Html.IO

type ServerMonad (Post a) = IO

newtype Put a Source #

Constructors

Put (IO a) 

Instances

Instances details
ToHtmlResp a => ToServer (Put a) Source # 
Instance details

Defined in Mig.Html.IO

Associated Types

type ServerMonad (Put a) :: Type -> Type Source #

Methods

toServer :: Put a -> Server (ServerMonad (Put a)) Source #

type ServerMonad (Put a) Source # 
Instance details

Defined in Mig.Html.IO

type ServerMonad (Put a) = IO

newtype Delete a Source #

Constructors

Delete (IO a) 

Instances

Instances details
ToHtmlResp a => ToServer (Delete a) Source # 
Instance details

Defined in Mig.Html.IO

Associated Types

type ServerMonad (Delete a) :: Type -> Type Source #

type ServerMonad (Delete a) Source # 
Instance details

Defined in Mig.Html.IO

type ServerMonad (Delete a) = IO

newtype Patch a Source #

Constructors

Patch (IO a) 

Instances

Instances details
ToHtmlResp a => ToServer (Patch a) Source # 
Instance details

Defined in Mig.Html.IO

Associated Types

type ServerMonad (Patch a) :: Type -> Type Source #

type ServerMonad (Patch a) Source # 
Instance details

Defined in Mig.Html.IO

type ServerMonad (Patch a) = IO

newtype Options a Source #

Constructors

Options (IO a) 

Instances

Instances details
ToHtmlResp a => ToServer (Options a) Source # 
Instance details

Defined in Mig.Html.IO

Associated Types

type ServerMonad (Options a) :: Type -> Type Source #

type ServerMonad (Options a) Source # 
Instance details

Defined in Mig.Html.IO

common

Common re-exports

module Mig.Common