mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
connection After the connection has been upgraded and session is kept open, subsequent requests were still trying to upgrade it. This fixes it by marking the connection as upgraded, and falling back to normal behaviour when it is.
13 lines
233 B
Plaintext
13 lines
233 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module Upgrade
|
|
module ConnectionMethods
|
|
attr_reader upgrade_protocol: Symbol?
|
|
attr_reader hijacked: boolish
|
|
|
|
def hijack_io: () -> void
|
|
end
|
|
end
|
|
end
|
|
end
|