This commit is contained in:
Martin Algesten
2018-06-27 18:07:17 +02:00
parent 97fbc1a031
commit d3ecb2bae1

View File

@@ -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!()
// }