servant-auth-server-0.4.4.0: servant-server/servant-auth compatibility

Safe HaskellNone
LanguageHaskell2010

Servant.Auth.Server.Internal.AddSetCookie

Documentation

data Nat #

Constructors

Z 
S Nat 

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

type family AddSetCookieApiVerb a where ... #

Equations

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

type family AddSetCookieApi a :: * #

Instances
type AddSetCookieApi Raw # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

type AddSetCookieApi (Headers hs a) # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

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

Defined in Servant.Auth.Server.Internal.AddSetCookie

type AddSetCookieApi (a :> b) # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

type AddSetCookieApi (Verb method stat ctyps a) # 
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) # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

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

data SetCookieList (n :: Nat) :: * where #

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

Methods

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

Instances
AddSetCookies Z orig orig # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

Methods

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

AddSetCookies (S n) Application Application #

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) # 
Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie

Methods

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

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

Defined in Servant.Auth.Server.Internal.AddSetCookie

Methods

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

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

Defined in Servant.Auth.Server.Internal.AddSetCookie

Methods

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

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

for servant >=0.11

Instance details

Defined in Servant.Auth.Server.Internal.AddSetCookie