MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / write_response

Method write_response

external/httplib.h:6376–6382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6374}
6375
6376inline bool Server::write_response(Stream &strm, bool close_connection,
6377 Request &req, Response &res) {
6378 // NOTE: `req.ranges` should be empty, otherwise it will be applied
6379 // incorrectly to the error content.
6380 req.ranges.clear();
6381 return write_response_core(strm, close_connection, req, res, false);
6382}
6383
6384inline bool Server::write_response_with_content(Stream &strm,
6385 bool close_connection,

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected