| Index: net/server/http_server.cc
|
| diff --git a/net/server/http_server.cc b/net/server/http_server.cc
|
| index 85797b90c96ae2ed32f9139ce14ea65ee90096fd..df77c3672daa423fe54127495aa18b7a4262a104 100644
|
| --- a/net/server/http_server.cc
|
| +++ b/net/server/http_server.cc
|
| @@ -47,6 +47,13 @@ void HttpServer::SendOverWebSocket(int connection_id,
|
| connection->web_socket_->Send(data);
|
| }
|
|
|
| +void HttpServer::SendRaw(int connection_id, const std::string& data) {
|
| + HttpConnection* connection = FindConnection(connection_id);
|
| + if (connection == NULL)
|
| + return;
|
| + connection->Send(data);
|
| +}
|
| +
|
| void HttpServer::SendResponse(int connection_id,
|
| const HttpServerResponseInfo& response) {
|
| HttpConnection* connection = FindConnection(connection_id);
|
|
|