httpmockserver
|
#include <string>
#include <vector>
#include <memory>
Go to the source code of this file.
Classes | |
class | httpmock::IMockServer |
class | httpmock::MockServer |
struct | httpmock::MockServer::KeyValue |
Key-Value storage. More... | |
struct | httpmock::MockServer::Header |
struct | httpmock::MockServer::UrlArg |
Url argument (with optional value) More... | |
struct | httpmock::MockServer::Response |
Response object. More... | |
Namespaces | |
httpmock | |
Simple HTTP mock server.
To use mock server in your own code, just inherit MockServer and implement responseHandler() method. Multiple instances in single process can lead to undefined behaviour.
Linker dependencies: -lmicrohttpd