View Source Jellyfish.Client (Jellyfish Server SDK v0.1.0)
Defines a Jellyfish.Client.t/0
.
By default, Mint adapter for Tesla is used to make HTTP requests, but it can be changed:
# config.exs
config :jellyfish, tesla_adapter: Tesla.Adapter.Hackney
# mix.exs
defp deps do
[
{:hackney, "~> 1.10"}
]
end
For the list of supported Tesla adapters refer to Tesla docs.
Link to this section Summary
Functions
Creates new instance of t:Jellyfish.SDK.Client.t/0
.
Link to this section Types
@type t() :: %Jellyfish.Client{http_client: Tesla.Client.t()}
Link to this section Functions
Creates new instance of t:Jellyfish.SDK.Client.t/0
.
parameters
Parameters
address
- url or IP address of the Jellyfish server instance