module HTTPX::Plugins::ServerSentEvents::OptionsMethods

  1. lib/httpx/plugins/server_sent_events.rb

adds support for the following options:

:event_stream

whether the request is a server-sent events text event stream (defaults to false).

Methods

Public Instance

  1. option_event_stream

Public Instance methods

option_event_stream(val)
[show source]
   # File lib/httpx/plugins/server_sent_events.rb
37 def option_event_stream(val)
38   val
39 end