method()
This commit is contained in:
@@ -527,6 +527,11 @@ impl Request {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Returns the method.
|
||||||
|
pub fn method(&self) -> &str {
|
||||||
|
&self.method
|
||||||
|
}
|
||||||
|
|
||||||
// pub fn retry(&self, times: u16) -> Request {
|
// pub fn retry(&self, times: u16) -> Request {
|
||||||
// unimplemented!()
|
// unimplemented!()
|
||||||
// }
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user