Module: HTTPX::Plugins::Stream

Defined in:
lib/httpx/plugins/stream.rb

Overview

This plugin adds support for stream response (text/event-stream).

gitlab.com/honeyryderchuck/httpx/wikis/Stream

Defined Under Namespace

Modules: InstanceMethods, RequestMethods, ResponseBodyMethods, ResponseMethods

Class Method Summary collapse

Class Method Details

.const_missing(const_name) ⇒ Object



143
144
145
146
147
# File 'lib/httpx/plugins/stream.rb', line 143

def self.const_missing(const_name)
  super unless const_name == :StreamResponse
  warn "DEPRECATION WARNING: the class #{self}::StreamResponse is deprecated. Use HTTPX::StreamResponse instead."
  HTTPX::StreamResponse
end