servant-auth-server-0.4.6.0: servant-server/servant-auth compatibility

Safe HaskellNone
LanguageHaskell2010

Servant.Auth.Server.Internal.AddSetCookie

Documentation

data Nat Source #

Constructors

Z 
S Nat 

type family AddSetCookiesApi (n :: Nat) a where ... Source #

type family AddSetCookieApiVerb a where ... Source #

Equations

AddSetCookieApiVerb (Headers ls a) = Headers (Header "Set-Cookie" SetCookie ': ls) a 
AddSetCookieApiVerb a = Headers '[Header "Set-Cookie" SetCookie] a 

type family AddSetCookieApi a :: * Source #

Instances
type AddSetCookieApi Raw Source # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

type AddSetCookieApi (Headers hs a) Source # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

type AddSetCookieApi (a :<|> b) Source # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

type AddSetCookieApi (a :> b) Source # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

type AddSetCookieApi (Verb method stat ctyps a) Source # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

type AddSetCookieApi (Verb method stat ctyps a) = Verb method stat ctyps (AddSetCookieApiVerb a)
type AddSetCookieApi (Stream method stat framing ctyps a) Source # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

type AddSetCookieApi (Stream method stat framing ctyps a) = Stream method stat framing ctyps (AddSetCookieApiVerb a)

class AddSetCookies (n :: Nat) orig new where Source #

Methods

addSetCookies :: SetCookieList n -> orig -> new Source #

Instances
AddSetCookies Z orig orig Source # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

Methods

addSetCookies :: SetCookieList Z -> orig -> orig Source #

AddSetCookies (S n) Application Application Source #

for servant <0.11

Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

(Functor m, AddSetCookies n (m old) (m cookied), AddHeader "Set-Cookie" SetCookie cookied new) => AddSetCookies (S n) (m old) (m new) Source # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

Methods

addSetCookies :: SetCookieList (S n) -> m old -> m new Source #

(AddSetCookies (S n) a a', AddSetCookies (S n) b b') => AddSetCookies (S n) (a :<|> b) (a' :<|> b') Source # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

Methods

addSetCookies :: SetCookieList (S n) -> (a :<|> b) -> a' :<|> b' Source #

AddSetCookies (S n) oldb newb => AddSetCookies (S n) (a -> oldb) (a -> newb) Source # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

Methods

addSetCookies :: SetCookieList (S n) -> (a -> oldb) -> a -> newb Source #

AddSetCookies (S n) (Tagged m Application) (Tagged m Application) Source #

for servant >=0.11

Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie