Fire a PUT request. Idempotent: won't re-fire if a request with this ID exists.
(id: &str, url: &str, f: impl FnOnce(&mut HttpConfig) -> &mut HttpConfig)
| 226 | |
| 227 | /// Fire a PUT request. Idempotent: won't re-fire if a request with this ID exists. |
| 228 | pub fn put(id: &str, url: &str, f: impl FnOnce(&mut HttpConfig) -> &mut HttpConfig) { |
| 229 | fire_http("PUT", id, url, f); |
| 230 | } |
| 231 | |
| 232 | /// Fire a DELETE request. Idempotent: won't re-fire if a request with this ID exists. |
| 233 | pub fn delete(id: &str, url: &str, f: impl FnOnce(&mut HttpConfig) -> &mut HttpConfig) { |
nothing calls this directly
no test coverage detected