endpoints4s.xhr

Web client using XMLHttpRequest

Type members

Classlikes

Client that relies on the web browser to handle gzip compression

Client that relies on the web browser to handle gzip compression

Partial interpreter for algebra.Endpoints that builds a client issuing requests using XMLHttpRequest. It uses algebra.BuiltInErrors to model client and server errors.

Partial interpreter for algebra.Endpoints that builds a client issuing requests using XMLHttpRequest. It uses algebra.BuiltInErrors to model client and server errors.

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 “known Endpoints subclasses” list.

final class EndpointsSettings extends Serializable

Settings for XHR interpreter.

Settings for XHR interpreter.

Value parameters:
baseUri

Base of the URI of the service that implements the endpoints, can be absolute or relative (e.g. "http://foo.com" or "/bar")

Companion:
object
Companion:
class

Partial interpreter for algebra.Endpoints that builds a client issuing requests using XMLHttpRequest.

Partial interpreter for algebra.Endpoints that builds a client issuing requests using XMLHttpRequest.

Interpreter for endpoints4s.algebra.JsonEntitiesFromCodecs that encodes JSON requests and decodes JSON responses.

Interpreter for endpoints4s.algebra.JsonEntitiesFromCodecs that encodes JSON requests and decodes JSON responses.

Interpreter for endpoints4s.algebra.JsonEntitiesFromCodecs that encodes JSON requests and decodes JSON responses.

Interpreter for endpoints4s.algebra.JsonEntitiesFromCodecs that encodes JSON requests and decodes JSON responses.

Interpreter for algebra.LowLevelEndpoints that represents the response as a XMLHttpRequest value.

Interpreter for algebra.LowLevelEndpoints that represents the response as a XMLHttpRequest value.

trait Methods extends Methods
final class RequestData extends Serializable
Companion:
object
Companion:
class
trait StatusCodes extends StatusCodes

algebra.StatusCodes interpreter that decodes and encodes methods.

algebra.StatusCodes interpreter that decodes and encodes methods.

trait Urls extends Urls

algebra.Urls interpreter that builds URLs (in a JavaScript runtime environment).

algebra.Urls interpreter that builds URLs (in a JavaScript runtime environment).