public WebSocketSharpResponse(ILogger logger, HttpListenerResponse response, IRequest request) { _logger = logger; this.response = response; Items = new Dictionary <string, object>(); Request = request; }
public WebSocketSharpResponse(ILogger logger, HttpListenerResponse response, IRequest request) { _logger = logger; this.response = response; Items = new Dictionary<string, object>(); Request = request; }
public WebSocketSharpResponse(ILogger logger, HttpListenerResponse response) { _logger = logger; this.response = response; }
public WebSocketSharpResponse(ILogger logger, HttpListenerResponse response) { _logger = logger; this.response = response; }
internal static void Close(this HttpListenerResponse response, HttpStatusCode code) { response.StatusCode = (int)code; response.OutputStream.Close(); }