MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / patch

Method patch

Libraries/Http/HttpAsyncClient.cpp:136–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136Result HttpAsyncClient::patch(AsyncEventLoop& loop, StringSpan url, Span<const char> body, bool keepAlive)
137{
138 RequestOptions options;
139 options.method = HttpParser::Method::HttpPATCH;
140 options.url = url;
141 options.keepAlive = keepAlive;
142 options.bodyMode = RequestOptions::BodyMode::Span;
143 options.body = body;
144 return sendRequest(loop, options);
145}
146
147Result HttpAsyncClient::postMultipart(AsyncEventLoop& loop, StringSpan url, HttpMultipartWriter& writer, bool keepAlive)
148{

Callers 1

commonMethodWrappersMethod · 0.80

Calls

no outgoing calls

Tested by 1

commonMethodWrappersMethod · 0.64