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.



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