Replaced the HttpListenerWebSocketContext (HttpListenerContext, string, Logger) constructor with the HttpListenerWebSocketContext (HttpListenerContext, string) constructor
This commit is contained in:
parent
4bcd400635
commit
01770d043d
@ -199,7 +199,7 @@ namespace WebSocketSharp.Net
|
||||
throw new ArgumentException ("Contains an invalid character.", "protocol");
|
||||
}
|
||||
|
||||
return new HttpListenerWebSocketContext (this, protocol, _listener.Log);
|
||||
return new HttpListenerWebSocketContext (this, protocol);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -49,11 +49,10 @@ namespace WebSocketSharp.Net.WebSockets
|
||||
|
||||
#region Internal Constructors
|
||||
|
||||
internal HttpListenerWebSocketContext (
|
||||
HttpListenerContext context, string protocol, Logger logger)
|
||||
internal HttpListenerWebSocketContext (HttpListenerContext context, string protocol)
|
||||
{
|
||||
_context = context;
|
||||
_websocket = new WebSocket (this, protocol, logger);
|
||||
_websocket = new WebSocket (this, protocol, context.Listener.Log);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user