| Index: net/server/http_server.h
|
| diff --git a/net/server/http_server.h b/net/server/http_server.h
|
| index 51bec95688926397444704793a7f96d24b4b1039..4309d122f1ead040eb28f2c2557a489b9fbff1b6 100644
|
| --- a/net/server/http_server.h
|
| +++ b/net/server/http_server.h
|
| @@ -47,6 +47,10 @@ class HttpServer : public StreamListenSocket::Delegate,
|
| void AcceptWebSocket(int connection_id,
|
| const HttpServerRequestInfo& request);
|
| void SendOverWebSocket(int connection_id, const std::string& data);
|
| + // Sends the provided data directly to the given connection. No validation is
|
| + // performed that data constitutes a valid HTTP response. A valid HTTP
|
| + // response may be split across multiple calls to SendRaw.
|
| + void SendRaw(int connection_id, const std::string& data);
|
| void SendResponse(int connection_id, const HttpServerResponseInfo& response);
|
| void Send(int connection_id,
|
| HttpStatusCode status_code,
|
|
|