MCPcopy Create free account
hub / github.com/azadkuh/qhttp / setStatusCode

Method setStatusCode

src/qhttpserverresponse.cpp:16–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 : QHttpAbstractOutput(conn) , d_ptr(&dd) {
15 d_ptr->initialize();
16 QHTTP_LINE_LOG
17}
18
19QHttpResponse::~QHttpResponse() {
20 QHTTP_LINE_LOG
21}
22
23void
24QHttpResponse::setStatusCode(TStatusCode code) {
25 d_func()->istatus = code;
26}
27
28void
29QHttpResponse::setVersion(const QString &versionString) {

Callers 4

runServerFunction · 0.80
ClientHandlerMethod · 0.80
mainFunction · 0.80
processMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected