Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
CHttpResponse Class Reference

#include <HttpResponse.h>

Public Member Functions

 CHttpResponse (HTTP::Method method, HTTP::StatusCode status, HTTP::Version version=HTTP::Version1_1)
void AddHeader (const std::string &field, const std::string &value)
void SetContent (const char *data, unsigned int length)
std::string Create ()

Constructor & Destructor Documentation

◆ CHttpResponse()

CHttpResponse::CHttpResponse ( HTTP::Method method,
HTTP::StatusCode status,
HTTP::Version version = HTTP::Version1_1 )

Member Function Documentation

◆ AddHeader()

void CHttpResponse::AddHeader ( const std::string & field,
const std::string & value )

◆ Create()

std::string CHttpResponse::Create ( )

◆ SetContent()

void CHttpResponse::SetContent ( const char * data,
unsigned int length )

The documentation for this class was generated from the following files: