MCPcopy Create free account
hub / github.com/Helidium/Mitol / onHttpRequest

Method onHttpRequest

src/Server.cpp:263–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void MNS::Server::onHttpRequest(const std::function<void(MNS::SocketData *)> &callback) {
264 this->onHttpRequestHandler = callback;
265}
266
267void MNS::Server::onHttpCancel(const std::function<void(MNS::SocketData *)> &callback) {
268 this->onHttpCancelHandler = callback;

Callers 2

mainFunction · 0.80
createServerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected