Skip to content

Commit f3b0e71

Browse files
committed
Docs
1 parent c71285a commit f3b0e71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/twirp/src/client.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ impl Client {
195195
}
196196
}
197197

198-
// Start building a request...
198+
/// Start building a `Request` with a path and a request body.
199+
///
200+
/// Returns a `RequestBuilder`, which will allow setting headers before sending.
199201
pub fn request<I, O>(&self, path: &str, body: I) -> Result<RequestBuilder<I, O>>
200202
where
201203
I: prost::Message,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy