Index: net/server/http_server.h |
=================================================================== |
--- net/server/http_server.h (revision 150609) |
+++ net/server/http_server.h (working copy) |
@@ -16,6 +16,7 @@ |
class HttpConnection; |
class HttpServerRequestInfo; |
+class IPEndPoint; |
class WebSocket; |
class HttpServer : public StreamListenSocket::Delegate, |
@@ -53,6 +54,9 @@ |
void Send500(int connection_id, const std::string& message); |
void Close(int connection_id); |
+ // Copies the local address to |address|. Returns a network error code. |
+ int GetLocalAddress(IPEndPoint* address); |
+ |
// ListenSocketDelegate |
virtual void DidAccept(StreamListenSocket* server, |
StreamListenSocket* socket) OVERRIDE; |