Barracuda Application Server C/C++ Reference
NO
HttpClientKeyVal Struct Reference

Detailed Description

A container for key/value pairs that is used when setting custom HTTP headers and/or when setting URL encoded HTTP parameters.

HttpClientKeyVal can be statically declared at compile time or be dynamically created during runtime. A dynamically created HttpClientKeyVal can be released as soon as HttpClient::request returns.

Example code:

HttpClientKeyVal myHeaders[]={
{"the-header-name","the header value"},
{"foo","bar"},
{0,0} // Terminator
};
A container for key/value pairs that is used when setting custom HTTP headers and/or when setting URL...
Definition: HttpClient.h:88

#include <HttpClient.h>