Finch.request

You're seeing just the function request, go back to Finch module for more information.
Link to this function

request(req, name, opts \\ [])

View Source

Specs

request(Finch.Request.t(), name(), keyword()) ::
  {:ok, Finch.Response.t()} | {:error, Exception.t()}

Sends an HTTP request and returns a Finch.Response struct.

Options

  • :pool_timeout - This timeout is applied when we check out a connection from the pool. Default value is 5_000.

  • :receive_timeout - The maximum time to wait for a response before returning an error. Default value is 15_000.

Link to this function

request(name, method, url, headers, body \\ nil, opts \\ [])

View Source