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

Method sendTextCopy

Libraries/Http/HttpConnection.cpp:313–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313Result HttpConnection::sendTextCopy(int code, StringSpan body)
314{
315 return sendBodyCopy(code, body, "text/plain; charset=utf-8");
316}
317
318Result HttpConnection::sendJsonCopy(int code, StringSpan body) { return sendBodyCopy(code, body, "application/json"); }
319

Callers 4

handleRequestMethod · 0.80
notFoundMethod · 0.80
onRequestMethod · 0.80
notFoundMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected