This plugin adds support for streaming a response (useful for i.e. “text/event-stream” payloads).
Classes and Modules
Constants
| STREAM_REQUEST_OPTIONS | = | { timeout: { read_timeout: Float::INFINITY, operation_timeout: 60 }.freeze }.freeze |
Public Class methods
extra_options(options)
[show source]
# File lib/httpx/plugins/stream.rb 126 def self.extra_options(options) 127 options.merge(stream: false) 128 end