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