MCPcopy Create free account
hub / github.com/3rdparty/libprocess / requestDelete

Function requestDelete

src/http.cpp:2476–2490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2474
2475
2476Future<Response> requestDelete(
2477 const URL& url,
2478 const Option<Headers>& headers)
2479{
2480 Request _request;
2481 _request.method = "DELETE";
2482 _request.url = url;
2483 _request.keepAlive = false;
2484
2485 if (headers.isSome()) {
2486 _request.headers = headers.get();
2487 }
2488
2489 return request(_request, false);
2490}
2491
2492
2493Future<Response> requestDelete(

Callers 1

TEST_PFunction · 0.85

Calls 2

requestFunction · 0.85
getMethod · 0.45

Tested by 1

TEST_PFunction · 0.68