Open
Description
I'm not saying doing the HTTP/1 parts of the upgrade, but after someone has started an upgrade, there is no way to tell h2 to continue with it.
- A way to encode and decode a
SETTINGS
frame as base64url.- Perhaps for encoding, this could just be part of the
client::Builder
. With some settings set on the builder,builder.as_base64(&self) -> String
or something could allow someone to send theHTTP2-Settings
header. - For decoding, perhaps it could be part of a new handshake method on the
server::Builder
:builder.handshake_upgrade(io, base64settings)
- Perhaps for encoding, this could just be part of the
- A way to tell the client and server that the stream
1
is half-closed, and a response is expected.- The client could also get a
handshake_upgrade
method that returns a triple of(Connection, SendRequest, ResponseFuture)
. - The suggested
handshake_upgrade
for the server could return a(Connection, SendResponse)
.
- The client could also get a