hunt-http ~master (2022-03-03T02:59:30Z)
Home
Dub
Repo
Http1ClientConnection.upgradeHttp2
hunt
http
client
Http1ClientConnection
Http1ClientConnection
Undocumented in source. Be warned that the author may not have intended to support it.
void
upgradeHttp2
(HttpRequest request, SettingsFrame settings, Promise!(HttpClientConnection) promise, ClientHttpHandler upgradeHandler, ClientHttpHandler http2ResponseHandler)
class
Http1ClientConnection
override
void
upgradeHttp2
(
HttpRequest
request
,
SettingsFrame
settings
,
Promise
!(
HttpClientConnection
)
promise
,
ClientHttpHandler
upgradeHandler
,
ClientHttpHandler
http2ResponseHandler
)
void
upgradeHttp2
(HttpRequest request, SettingsFrame settings, Promise!(HttpClientConnection) promise, Promise!(Stream) initStream, Stream.Listener initStreamListener, ClientHttp2SessionListener listener, ClientHttpHandler handler)
Meta
Source
See Implementation
hunt
http
client
Http1ClientConnection
Http1ClientConnection
constructors
this
functions
close
getConnectionType
getHttpOptions
getHttpOutputStream
getParser
getUpgradeHttp2Complete
getUpgradeWebSocketComplete
initHttpParser
isOpen
send
sendRequestWithContinuation
upgradeHttp2
upgradeProtocolComplete
upgradeWebSocket