DELETE with 200 status code.
Moduleservant-0.20.2Haskell2010
Servant.API.Verbs
- 32 types
- 1 class
- Packageservant-0.20.2
- Exports33
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceVerbs.hs
DELETE with 202 status code.
DELETE with 204 status code.
DELETE with 203 status code.
GET with 200 status code.
GET with 202 status code.
GET with 204 status code.
GET with 203 status code.
GET with 206 status code.
GET with 205 status code.
NoContentVerb is a specific type to represent NoContent responses.
It does not require either a list of content types (because there's
no content) or a status code (because it should always be 204).
Instances4HasLink, Generic, Rep, MkLink
HasLink (NoContentVerb m)Defined in servant-0.20.2 · Servant.LinksGeneric (NoContentVerb method)Defined in servant-0.20.2 · Servant.API.Verbstype Rep (NoContentVerb method) = D1 ('MetaDataDefined in servant-0.20.2 · Servant.API.Verbs"NoContentVerb"
"Servant.API.Verbs"
"servant-0.20.2-kmMZib8zXn7e8NZPkSX15"
'False) V1type MkLink (NoContentVerb m) r = rDefined in servant-0.20.2 · Servant.Links
PATCH with 200 status code.
PATCH with 202 status code.
PATCH with 204 status code.
PATCH with 203 status code.
POST with 200 status code.
POST with 202 status code.
POST with 201 status code.
POST with 204 status code.
POST with 203 status code.
POST with 205 status code.
PUT with 200 status code.
PUT with 202 status code.
PUT with 201 status code.
PUT with 204 status code.
PUT with 203 status code.
Methods
reflectMethod :: Proxy a -> Method
Instances9ReflectMethod, …
ReflectMethod 'CONNECTDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'DELETEDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'GETDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'HEADDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'OPTIONSDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'PATCHDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'POSTDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'PUTDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'TRACEDefined in servant-0.20.2 · Servant.API.Verbs
Verb is a general type for representing HTTP verbs (a.k.a. methods). For
convenience, type synonyms for each verb with a 200 response code are
provided, but you are free to define your own:
type Post204 contentTypes a = Verb 'POST 204 contentTypes aInstances5HasLink, Generic, AtMostOneFragment, Rep, MkLink
HasLink (Verb m s ct a)Defined in servant-0.20.2 · Servant.LinksGeneric (Verb method statusCode contentTypes a)Defined in servant-0.20.2 · Servant.API.VerbsAtMostOneFragment (Verb m s ct typ)Defined in servant-0.20.2 · Servant.API.TypeLeveltype Rep (Verb method statusCode contentTypes a) = D1 ('MetaDataDefined in servant-0.20.2 · Servant.API.Verbs"Verb"
"Servant.API.Verbs"
"servant-0.20.2-kmMZib8zXn7e8NZPkSX15"
'False) V1type MkLink (Verb m s ct a) r = rDefined in servant-0.20.2 · Servant.Links
HEAD with 204 status code.
DELETE with 205 status code.
PATCH with 205 status code.
PUT with 205 status code.
HTTP standard method (as defined by RFC 2616, and PATCH which is defined by RFC 5789).
Instances19Bounded, Enum, Eq, Data, Ord, Read, …
Bounded StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.MethodEnum StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.MethodEq StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.MethodData StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.MethodOrd StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.MethodRead StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.MethodShow StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.MethodIx StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.MethodGeneric StdMethodDefined in http-types-0.12.4 · Network.HTTP.Types.MethodReflectMethod 'CONNECTDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'DELETEDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'GETDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'HEADDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'OPTIONSDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'PATCHDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'POSTDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'PUTDefined in servant-0.20.2 · Servant.API.VerbsReflectMethod 'TRACEDefined in servant-0.20.2 · Servant.API.Verbstype Rep StdMethod = D1 ('MetaDataDefined in http-types-0.12.4 · Network.HTTP.Types.Method"StdMethod"
"Network.HTTP.Types.Method"
"http-types-0.12.4-KkMxTblWZY5WJ4M2x8W7s"
'False) (((C1 ('MetaCons"GET"
'PrefixI 'False) U1 :+: C1 ('MetaCons"POST"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"HEAD"
'PrefixI 'False) U1 :+: C1 ('MetaCons"PUT"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"DELETE"
'PrefixI 'False) U1 :+: C1 ('MetaCons"TRACE"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"CONNECT"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"OPTIONS"
'PrefixI 'False) U1 :+: C1 ('MetaCons"PATCH"
'PrefixI 'False) U1))))