Home | History | Annotate | Download | only in server

Lines Matching full:httpserver

24 int HttpServer::Connection::lastId_ = 0;
26 HttpServer::HttpServer(const std::string& host,
28 HttpServer::Delegate* del)
33 HttpServer::~HttpServer() {
70 void HttpServer::AcceptWebSocket(
107 void HttpServer::SendOverWebSocket(int connection_id,
121 void HttpServer::Send(int connection_id, const std::string& data) {
129 void HttpServer::Send(int connection_id, const char* bytes, int len) {
137 void HttpServer::Send200(int connection_id,
154 void HttpServer::Send404(int connection_id) {
165 void HttpServer::Send500(int connection_id, const std::string& message) {
180 void HttpServer::Close(int connection_id)
189 HttpServer::Connection::Connection(HttpServer* server, ListenSocket* sock)
196 HttpServer::Connection::~Connection() {
201 void HttpServer::Connection::DetachSocket() {
205 void HttpServer::Connection::Shift(int num_bytes) {
283 bool HttpServer::ParseHeaders(Connection* connection,
361 void HttpServer::DidAccept(ListenSocket* server,
368 void HttpServer::DidRead(ListenSocket* socket,
418 void HttpServer::DidClose(ListenSocket* socket) {
426 HttpServer::Connection* HttpServer::FindConnection(int connection_id) {
433 HttpServer::Connection* HttpServer::FindConnection(ListenSocket* socket) {