Fix due to the removed HttpServer<T> class from HttpServer.cs

This commit is contained in:
sta
2012-09-19 14:40:12 +09:00
parent b136b39cbb
commit 3898696491
66 changed files with 104 additions and 50 deletions

View File

@@ -169,9 +169,9 @@ namespace WebSocketSharp.Net {
#region Public Method
public HttpListenerWebSocketContext AcceptWebSocket ()
public HttpListenerWebSocketContext AcceptWebSocket (string path)
{
return new HttpListenerWebSocketContext (this);
return new HttpListenerWebSocketContext (path, this);
}
#endregion

View File

@@ -40,10 +40,10 @@ namespace WebSocketSharp.Net {
private HttpListenerContext _context;
private WebSocket _socket;
internal HttpListenerWebSocketContext(HttpListenerContext context)
internal HttpListenerWebSocketContext(string path, HttpListenerContext context)
{
_context = context;
_socket = new WebSocket(this);
_socket = new WebSocket(path.ToUri(), this);
}
internal HttpListenerContext BaseContext {