Struct h2::client::Handshake [−][src]
Performs the HTTP/2.0 connection handshake.
This type implements Future
, yielding a (SendRequest, Connection)
instance once the handshake has completed.
The handshake is completed once both the connection preface and the initial settings frame is sent by the client.
The handshake future does not wait for the initial settings frame from the server.
See module level documentation for more details.
Trait Implementations
impl<T, B> Future for Handshake<T, B> where
T: AsyncRead + AsyncWrite,
B: IntoBuf,
B::Buf: 'static,
[src]
[+]
impl<T, B> Future for Handshake<T, B> where
T: AsyncRead + AsyncWrite,
B: IntoBuf,
B::Buf: 'static,
impl<T, B> Debug for Handshake<T, B> where
T: AsyncRead + AsyncWrite,
T: Debug,
B: Debug + IntoBuf,
B::Buf: Debug + IntoBuf,
[src]
[+]
impl<T, B> Debug for Handshake<T, B> where
T: AsyncRead + AsyncWrite,
T: Debug,
B: Debug + IntoBuf,
B::Buf: Debug + IntoBuf,