module HTTPX::Plugins::Stream::InstanceMethods

  1. lib/httpx/plugins/stream.rb

Methods

Public Instance

  1. stream

Public Instance methods

stream ()
[show source]
   # File lib/httpx/plugins/stream.rb
10 def stream
11   headers("accept" => "text/event-stream",
12           "cache-control" => "no-cache")
13 end