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

Function create

src/qhttpserverconnection.hpp:52–57  ·  view source on GitHub ↗

creates a new QHttpConnection based on arguments. */

Source from the content-addressed store, hash-verified

50
51 /** creates a new QHttpConnection based on arguments. */
52 static
53 QHttpConnection* create(qintptr sokDescriptor, TBackend backendType, QObject* parent) {
54 QHttpConnection* conn = new QHttpConnection(parent);
55 conn->setSocketDescriptor(sokDescriptor, backendType);
56 return conn;
57 }
58
59signals:
60 /** emitted when a pair of HTTP request and response are ready to interact.

Callers

nothing calls this directly

Calls 1

setSocketDescriptorMethod · 0.80

Tested by

no test coverage detected