matrix_sdk v0.1.0 MatrixSDK.HTTPClient behaviour View Source

Provides functions to makes HTTP requests using Tesla.

Link to this section Summary

Link to this section Types

Specs

option() ::
  {:method, Tesla.Env.method()}
  | {:url, Tesla.Env.url()}
  | {:query, Tesla.Env.query()}
  | {:headers, Tesla.Env.headers()}
  | {:body, Tesla.Env.body()}
  | {:opts, Tesla.Env.opts()}

Specs

result() :: Tesla.Env.result()

Link to this section Functions

Link to this function

client(base_url, headers \\ [])

View Source

Link to this section Callbacks