class Faraday::RequestOptions
RequestOptions contains the configurable properties for a Faraday request.
Constants
- COERCIONS
-
A falsy proxy means no proxy, like the legacy
[]=did. - MEMBERS
Attributes
@return [Hash] the local host and port to bind the connection to
@return [String] the boundary used for multipart request bodies
@return [Hash] free-form storage carried alongside the request
@return [Hash] OAuth options used by the OAuth middleware
@return [Proc] callback invoked with each chunk when streaming the response
@return [Integer] time limit for just the connection phase (in seconds)
@return [Object] the params encoder used to serialize the request params
@return [ProxyOptions, nil] proxy options for this request. {.from},
{#update} and {#merge} coerce the value to {ProxyOptions} (+nil+ if it
is falsy), the +proxy=+ writer does not.
@return [Integer] time limit for the first response byte received from
the server (in seconds)
@return [Integer] time limit for the entire request (in seconds)
@return [Integer] time limit for the client to send the request to the
server (in seconds)
Public Instance Methods
# File lib/faraday/options/request_options.rb, line 53 def stream_response? on_data.is_a?(Proc) end