We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
parts()
1 parent 8025264 commit 8943facCopy full SHA for 8943fac
src/adaptor.rs
@@ -41,19 +41,15 @@ impl ConduitRequest {
41
body: Cursor::new(body),
42
}
43
44
-
45
- fn parts(&self) -> &HttpParts {
46
- &self.parts
47
- }
48
49
50
impl RequestExt for ConduitRequest {
51
fn http_version(&self) -> Version {
52
- self.parts().version
+ self.parts.version
53
54
55
fn method(&self) -> &Method {
56
- &self.parts().method
+ &self.parts.method
57
58
59
/// Always returns Http
@@ -108,7 +104,7 @@ impl RequestExt for ConduitRequest {
108
104
109
105
110
106
fn query_string(&self) -> Option<&str> {
111
- self.parts().uri.query()
107
+ self.parts.uri.query()
112
113
114
fn body(&mut self) -> &mut dyn Read {
0 commit comments