|
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#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 () |
| CHttpResponse::CHttpResponse | ( | HTTP::Method | method, |
| HTTP::StatusCode | status, | ||
| HTTP::Version | version = HTTP::Version1_1 |
||
| ) |
| void CHttpResponse::AddHeader | ( | const std::string & | field, |
| const std::string & | value | ||
| ) |
| std::string CHttpResponse::Create | ( | void | ) |
| void CHttpResponse::SetContent | ( | const char * | data, |
| unsigned int | length | ||
| ) |