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

Method sendText

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

Source from the content-addressed store, hash-verified

1176}
1177
1178Result HttpResponse::sendText(int code, StringSpan body) { return sendBody(code, body, "text/plain; charset=utf-8"); }
1179
1180Result HttpResponse::sendJson(int code, StringSpan body) { return sendBody(code, body, "application/json"); }
1181

Callers 2

responseBodyHelpersMethod · 0.80

Calls

no outgoing calls

Tested by 2

responseBodyHelpersMethod · 0.64