GSS. Client. Request
(elixir_google_spreadsheets v1.0.0)
Copy Markdown
Worker of Request subscribed to Limiter, call request to API and send an answer to Client.
Only :pool_timeout, :receive_timeout and :request_timeout from RequestParams.options
are forwarded to Finch.request/3; any other keys (library-level or stale) are dropped.
Summary
Functions
Starts an request worker linked to the current process. Takes events from Limiter and send requests through Finch
Types
Functions
@spec start_link(options()) :: GenServer.on_start()
Starts an request worker linked to the current process. Takes events from Limiter and send requests through Finch
Options
:name- used for name registration as described in the "Name registration" section of the module documentation. Default isElixir.GSS.Client.Request:limiters- list of limiters with max_demand options. For example[{Elixir.GSS.Client.Limiter, max_demand: 1}].