| 1171 | } |
| 1172 | |
| 1173 | Result HttpResponse::sendBody(int code, StringSpan body, StringSpan contentType) |
| 1174 | { |
| 1175 | return sendBytes(code, body.toCharSpan(), contentType); |
| 1176 | } |
| 1177 | |
| 1178 | Result HttpResponse::sendText(int code, StringSpan body) { return sendBody(code, body, "text/plain; charset=utf-8"); } |
| 1179 |
no outgoing calls