Streamex v0.3.0 Streamex.Request

The Streamex.Request module wraps Streamex.Client requests. It’s not meant to be used directly, although functions are publicly available in case of need.

Summary

Types

t :: %Streamex.Request{body: term, headers: term, method: term, options: term, params: term, path: term, token: term, url: term}

Functions

new()

Initializes a Streamex.Request request.

with_body(r, body)

Sets the body field of a Streamex.Request

with_method(r, method)

Sets the method field of a Streamex.Request

with_params(r, params)

Sets the params field of a Streamex.Request

with_path(r, path)

Sets the path field of a Streamex.Request

with_token(r, feed, resource, action)

Attaches a Streamex.Token to a Streamex.Request