mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-03 00:01:18 -04:00
21 lines
573 B
Plaintext
21 lines
573 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module PushPromise
|
|
module ResponseMethods
|
|
def pushed?: () -> boolish
|
|
def mark_as_pushed!: () -> void
|
|
end
|
|
|
|
module InstanceMethods
|
|
private
|
|
|
|
def promise_headers: () -> Hash[HTTP2Next::Stream, Request]
|
|
def __on_promise_request: (Connection::HTTP2, HTTP2Next::Stream, headers_input) -> void
|
|
def __on_promise_response: (Connection::HTTP2, HTTP2Next::Stream, headers_input) -> void
|
|
end
|
|
end
|
|
|
|
type sessionPushPromise = Session & PushPromise::InstanceMethods
|
|
end
|
|
end
|