webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <data_socket.h>
Public Types | |
enum | RequestMethod { INVALID, GET, POST, OPTIONS, INVALID, GET, POST, OPTIONS } |
enum | RequestMethod { INVALID, GET, POST, OPTIONS, INVALID, GET, POST, OPTIONS } |
Static Public Attributes | |
static const char | kCrossOriginAllowHeaders [] |
Protected Member Functions | |
bool | ParseHeaders () |
bool | ParseMethodAndPath (const char *begin, size_t len) |
bool | ParseContentLengthAndType (const char *headers, size_t length) |
bool | ParseHeaders () |
bool | ParseMethodAndPath (const char *begin, size_t len) |
bool | ParseContentLengthAndType (const char *headers, size_t length) |
Protected Attributes | |
RequestMethod | method_ |
size_t | content_length_ |
std::string | content_type_ |
std::string | request_path_ |
std::string | request_headers_ |
std::string | data_ |
Protected Attributes inherited from SocketBase | |
NativeSocket | socket_ |
|
inlineexplicit |
|
inline |
|
inlineexplicit |
|
inline |
void DataSocket::Clear | ( | ) |
void DataSocket::Clear | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool DataSocket::OnDataAvailable | ( | bool * | close_socket | ) |
bool DataSocket::OnDataAvailable | ( | bool * | close_socket | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
bool DataSocket::PathEquals | ( | const char * | path | ) | const |
bool DataSocket::PathEquals | ( | const char * | path | ) | const |
std::string DataSocket::request_arguments | ( | ) | const |
std::string DataSocket::request_arguments | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
bool DataSocket::Send | ( | const std::string & | data | ) | const |
bool DataSocket::Send | ( | const std::string & | data | ) | const |
bool DataSocket::Send | ( | const std::string & | status, |
bool | connection_close, | ||
const std::string & | content_type, | ||
const std::string & | extra_headers, | ||
const std::string & | data | ||
) | const |
bool DataSocket::Send | ( | const std::string & | status, |
bool | connection_close, | ||
const std::string & | content_type, | ||
const std::string & | extra_headers, | ||
const std::string & | data | ||
) | const |
|
protected |
|
protected |
|
protected |
|
static |
|
protected |
|
protected |
|
protected |