Module
Yoga.HTTP.API.Route.Encoding
- Package
- purescript-yoga-http-api
- Repository
- rowtype-yoga/purescript-yoga-http-api
#FormData Source
data FormData aForm data encoded request body (application/x-www-form-urlencoded)
Example: Request { body :: FormData { username :: String, password :: String } }
#MultipartFormData Source
data MultipartFormData aMultipart form data encoded request body (multipart/form-data)
Example: Request { body :: MultipartFormData { file :: FileUpload } }
#XML Source
data XML aXML encoded request/response body (application/xml)
Example: Request { body :: XML XmlDocument }
#CustomContentType Source
data CustomContentType :: Symbol -> Type -> Typedata CustomContentType mime a
Custom content type with explicit MIME type
Example: Request { body :: CustomContentType "application/vnd.api+json" User }
- Modules
- Yoga.
HTTP. API. Path - Yoga.
HTTP. API. Route - Yoga.
HTTP. API. Route. Auth - Yoga.
HTTP. API. Route. BearerToken - Yoga.
HTTP. API. Route. Encoding - Yoga.
HTTP. API. Route. Handler - Yoga.
HTTP. API. Route. HeaderError - Yoga.
HTTP. API. Route. HeaderValue - Yoga.
HTTP. API. Route. Method - Yoga.
HTTP. API. Route. OpenAPI - Yoga.
HTTP. API. Route. OpenAPIMetadata - Yoga.
HTTP. API. Route. RenderMethod - Yoga.
HTTP. API. Route. Response - Yoga.
HTTP. API. Route. Route - Yoga.
HTTP. API. Route. RouteHandler - Yoga.
HTTP. API. Route. StatusCode