| 103 | } |
| 104 | |
| 105 | Result HttpAsyncClient::deleteRequest(AsyncEventLoop& loop, StringSpan url, bool keepAlive) |
| 106 | { |
| 107 | RequestOptions options; |
| 108 | options.method = HttpParser::Method::HttpDELETE; |
| 109 | options.url = url; |
| 110 | options.keepAlive = keepAlive; |
| 111 | return sendRequest(loop, options); |
| 112 | } |
| 113 | |
| 114 | Result HttpAsyncClient::put(AsyncEventLoop& loop, StringSpan url, Span<const char> body, bool keepAlive) |
| 115 | { |