httpmockserver
Classes | Namespaces
mock_server.h File Reference
#include <string>
#include <vector>
#include <memory>
Include dependency graph for mock_server.h:
This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

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