RingCentral.HTTPClient.DefaultClient.start_link
You're seeing just the function
start_link
, go back to RingCentral.HTTPClient.DefaultClient module for more information.
Start an instance of the defalut HTTPClient.
The following options will be passed to the Finch.start_link/1
:
[
name: __MODULE__
pools: %{
RingCentral.sandbox_server_url() => [size: 1],
RingCentral.production_server_url() => [size: 10]
}
]
You override the default options with opts
, see Finch.start_link/1
for detail.
Example
opts = [
pools: %{
RingCentral.production_server_url() => [size: 30]
}
]
RingCentral.HTTPClient.DefaultClient.start_link(opts)