A function that takes the information needed to build a request and returns a task yielding the information carried by the response.
Builds an URL path from an A
Builds an URL path from an A
Defines how to build a query string from an A
Defines how to build a query string from an A
Defines how to build a query string parameter value from an A
Defines how to build a query string parameter value from an A
A function that takes the information A
and returns an XMLHttpRequest
with an optional request entity.
A function that takes the information A
and returns an XMLHttpRequest
with an optional request entity. If provided, the request entity must be
compatible with the send
method of XMLHttpRequest.
A function that, given information A
and an XMLHttpRequest, returns
a request entity.
A function that, given information A
and an XMLHttpRequest, returns
a request entity.
Also, as a side-effect, the function can set the corresponding Content-Type header
on the given XMLHttpRequest.
A function that takes the information A
and the XMLHttpRequest
and sets up some headers on it.
A function that takes the information A
and the XMLHttpRequest
and sets up some headers on it.
Attempts to decode an A
from an XMLHttpRequest’s response
Attempts to decode an A
from an XMLHttpRequest’s response
A value that eventually yields an A
.
A value that eventually yields an A
.
Typically, concrete representation of Result
will have an instance of MonadError
, so
that we can perform requests (sequentially and in parallel) and recover errors.
Defines how to build a path segment from an A
Defines how to build a path segment from an A
Builds an URL from an A
Builds an URL from an A
Sets up no headers on the given XMLHttpRequest
Sets up no headers on the given XMLHttpRequest
Successfully decodes no information from a response
Successfully decodes no information from a response
Successfully decodes string information from a response
Successfully decodes string information from a response
A response decoder that maps HTTP responses having status code 404 to None
, or delegates to the given response
.
A response decoder that maps HTTP responses having status code 404 to None
, or delegates to the given response
.
Partial interpreter for algebra.Endpoints that builds a client issuing requests using XMLHttpRequest.
The interpreter is partially implemented: it returns endpoint invocation results in an abstract
Result
type, which is yet to be defined by a more specialized interpreter. You can find such interpreters in the “knownEndpoints
subclasses” list.