using System;
using MediaBrowser.Model.Services;
namespace MediaBrowser.Controller.Net
{
///
/// Class WebSocketConnectEventArgs
///
public class WebSocketConnectingEventArgs : EventArgs
{
///
/// Gets or sets the URL.
///
/// The URL.
public string Url { get; set; }
///
/// Gets or sets the endpoint.
///
/// The endpoint.
public string Endpoint { get; set; }
///
/// Gets or sets the query string.
///
/// The query string.
public QueryParamCollection QueryString { get; set; }
///
/// Gets or sets a value indicating whether [allow connection].
///
/// true if [allow connection]; otherwise, false.
public bool AllowConnection { get; set; }
public WebSocketConnectingEventArgs()
{
QueryString = new QueryParamCollection();
AllowConnection = true;
}
}
}