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

Defined in:
lib/httpx/plugins/push_promise.rb,
sig/plugins/push_promise.rbs

Instance Method Summary collapse

Instance Method Details

#mark_as_pushed! ⇒ void

This method returns an undefined value.



26
27
28
# File 'lib/httpx/plugins/push_promise.rb', line 26

def mark_as_pushed!
  @__pushed = true
end

#pushed? ⇒ Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/httpx/plugins/push_promise.rb', line 22

def pushed?
  @__pushed
end