ArkEcosystem Elixir Client v1.0.0 ArkEcosystem.Client View Source

Documentation for ArkEcosystem.Client

Link to this section Summary

Link to this section Types

Link to this type

response() View Source
response() :: {:ok, any()} | {:error, any()}

Link to this section Functions

Link to this function

get(client, url, opts \\ []) View Source

Shortcut to Tesla.get/4

Shortcut to ArkEcosystem.Client.Connection.new/1

Link to this function

patch(client, url, body, opts \\ []) View Source
patch(Tesla.Client.t(), String.t(), any(), Keyword.t()) :: response()

Alias for put/4

Link to this function

post(client, url, body, opts \\ []) View Source
post(Tesla.Client.t(), String.t(), any(), Keyword.t()) :: response()

Shortcut to Tesla.post/4

Link to this function

put(client, url, body, opts \\ []) View Source

Shortcut to Tesla.put/4