httpmockserver
Public Member Functions | Public Attributes | List of all members
httpmock::MockServer::UrlArg Struct Reference

Url argument (with optional value) More...

#include <mock_server.h>

Inheritance diagram for httpmock::MockServer::UrlArg:
Inheritance graph
[legend]
Collaboration diagram for httpmock::MockServer::UrlArg:
Collaboration graph
[legend]

Public Member Functions

 UrlArg (const std::string &key)
 
 UrlArg (const std::string &key, const std::string &value)
 
- Public Member Functions inherited from httpmock::MockServer::KeyValue
 KeyValue (const std::string &key, const std::string &value="")
 

Public Attributes

bool hasValue
 Whether the value field has been set. More...
 
- Public Attributes inherited from httpmock::MockServer::KeyValue
std::string key
 
std::string value
 

Detailed Description

Url argument (with optional value)

Constructor & Destructor Documentation

◆ UrlArg() [1/2]

httpmock::MockServer::UrlArg::UrlArg ( const std::string &  key)
inlineexplicit

◆ UrlArg() [2/2]

httpmock::MockServer::UrlArg::UrlArg ( const std::string &  key,
const std::string &  value 
)
inline

Member Data Documentation

◆ hasValue

bool httpmock::MockServer::UrlArg::hasValue

Whether the value field has been set.


The documentation for this struct was generated from the following file: