Module: HTTPX::Plugins::ServerSentEvents::OptionsMethods
- Defined in:
- lib/httpx/plugins/server_sent_events.rb
Overview
adds support for the following options:
:event_stream :: whether the request is a server-sent events text event stream (defaults to false).
Instance Method Summary collapse
Instance Method Details
#option_event_stream(val) ⇒ Object
37 38 39 |
# File 'lib/httpx/plugins/server_sent_events.rb', line 37 def option_event_stream(val) val end |