git.iko.soy/typeable/servant
on master help sign in
Export all Verb methods.
commit574e9c48cdc7e22830e5f49f0a470d5b819b53cf authorJulian K. Arni <jkarni@gmail.com> dateThu 7 Jan 2016, 13:44 (11 years ago) parentbd77b4a
1 file changed+16−1
servant/src/Servant/API.hs+16−1
servant/src/Servant/API.hs+16−1
@@ -70,7 +70,22 @@ import Servant.API.ResponseHeaders (AddHeader (addHeader),
7070 getHeadersHList, getResponse)
7171import Servant.API.Sub ((:>))
7272import Servant.API.Vault (Vault)
73−import Servant.API.Verbs (Delete, Get, Patch, Post, Put,
73+import Servant.API.Verbs (Created, Delete, DeleteAccepted,
74+ DeleteNoContent,
75+ DeleteNonAuthoritative, Get,
76+ GetAccepted, GetNoContent,
77+ GetNonAuthoritative,
78+ GetPartialContent,
79+ GetResetContent,
80+ NoContent (NoContent), Patch,
81+ PatchAccepted, PatchNoContent,
82+ PatchNoContent,
83+ PatchNonAuthoritative, Post,
84+ PostAccepted, PostNoContent,
85+ PostNonAuthoritative,
86+ PostResetContent, Put,
87+ PutAccepted, PutNoContent,
88+ PutNoContent, PutNonAuthoritative,
7489 ReflectMethod (reflectMethod),
7590 Verb)
7691import Servant.Utils.Links (HasLink (..), IsElem, IsElem',