File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787 H2 ( #[ pin] proto:: h2:: ClientTask < B > , PhantomData < fn ( T ) > ) ,
8888}
8989
90- /// Returns a handshake future over some IO.
90+ /// Returns a handshake future over some IO. The io parameter will usually be a
91+ /// [tokio::net::TcpStream](https://docs.rs/tokio/1.6.1/tokio/net/struct.TcpStream.html).
9192///
9293/// This is a shortcut for `Builder::new().handshake(io)`.
9394pub async fn handshake < T > (
@@ -106,6 +107,9 @@ pub struct SendRequest<B> {
106107
107108/// A future that processes all HTTP state for the IO object.
108109///
110+ /// The io parameter will usually be a
111+ /// [tokio::net::TcpStream](https://docs.rs/tokio/1.6.1/tokio/net/struct.TcpStream.html).
112+ ///
109113/// In most cases, this should just be spawned into an executor, so that it
110114/// can process incoming and outgoing messages, notice hangups, and the like.
111115#[ must_use = "futures do nothing unless polled" ]
You can’t perform that action at this time.
0 commit comments