Module: HTTPX::Plugins::PushPromise::ResponseMethods

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

Instance Method Summary collapse

Instance Method Details

#mark_as_pushed!Object



24
25
26
# File 'lib/httpx/plugins/push_promise.rb', line 24

def mark_as_pushed!
  @__pushed = true
end

#pushed?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/httpx/plugins/push_promise.rb', line 20

def pushed?
  @__pushed
end