MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / delete

Function delete

src/net/mod.rs:233–235  ·  view source on GitHub ↗

Fire a DELETE request. Idempotent: won't re-fire if a request with this ID exists.

(id: &str, url: &str, f: impl FnOnce(&mut HttpConfig) -> &mut HttpConfig)

Source from the content-addressed store, hash-verified

231
232/// Fire a DELETE request. Idempotent: won't re-fire if a request with this ID exists.
233pub fn delete(id: &str, url: &str, f: impl FnOnce(&mut HttpConfig) -> &mut HttpConfig) {
234 fire_http("DELETE", id, url, f);
235}
236
237/// Get a handle to an existing HTTP request. Returns `None` if no such ID.
238pub fn request(id: &str) -> Option<Request> {

Callers

nothing calls this directly

Calls 1

fire_httpFunction · 0.85

Tested by

no test coverage detected