MCPcopy Create free account
hub / github.com/cinemast/libjson-rpc-cpp / SetUrlHandler

Method SetUrlHandler

src/jsonrpccpp/server/connectors/httpserver.cpp:131–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void HttpServer::SetUrlHandler(const string &url, IClientConnectionHandler *handler) {
132 this->urlhandler[url] = handler;
133 this->SetHandler(NULL);
134}
135
136HttpServer::MicroHttpdResult HttpServer::callback(void *cls, MHD_Connection *connection, const char *url, const char *method, const char *version,
137 const char *upload_data, size_t *upload_data_size, void **con_cls) {

Callers 1

Calls 1

SetHandlerMethod · 0.80

Tested by

no test coverage detected