mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-03 00:01:18 -04:00
20 lines
470 B
Plaintext
20 lines
470 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module H2C
|
|
VALID_H2C_VERBS: Array[Symbol]
|
|
|
|
def self.load_dependencies: (*untyped) -> void
|
|
def self.configure: (singleton(Session)) -> void
|
|
def self.call: (Connection, Request, response) -> void
|
|
|
|
class H2CParser < Connection::HTTP2
|
|
def upgrade: (Request, Response) -> void
|
|
end
|
|
|
|
module ConnectionMethods
|
|
def upgrade_to_h2c: (Request, Response) -> void
|
|
end
|
|
end
|
|
end
|
|
end
|