This module parallels elm/http's Http module.
Pull requests are welcome to add any functions that are missing.
The functions here produce SimulatedEffects instead of Cmds, which are meant to be used
to help you implement the function to provide when using ProgramTest.withSimulatedEffects.
Create a POST request.
Create a custom request.
An HTTP header for configuring requests.
Create a Header.
Represents the body of a Request.
Put some string in the body of your Request.
Put some JSON value in the body of your Request. This will automatically
add the Content-Type: application/json header.
Logic for interpreting a response body.
Expect the response body to be a String.
Expect the response body to be JSON.
Expect the response body to be whatever.
Expect a Response with a String body.
Just like request, but it creates a Task.
Describes how to resolve an HTTP task.
Turn a response with a String body into a result.
Create a
GETrequest.