You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
using System;
|
|
using MediaBrowser.Model.Services;
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
{
|
|
/// <summary>
|
|
/// Class WebSocketConnectEventArgs
|
|
/// </summary>
|
|
public class WebSocketConnectingEventArgs : EventArgs
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the URL.
|
|
/// </summary>
|
|
/// <value>The URL.</value>
|
|
public string Url { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the endpoint.
|
|
/// </summary>
|
|
/// <value>The endpoint.</value>
|
|
public string Endpoint { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets the query string.
|
|
/// </summary>
|
|
/// <value>The query string.</value>
|
|
public QueryParamCollection QueryString { get; set; }
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether [allow connection].
|
|
/// </summary>
|
|
/// <value><c>true</c> if [allow connection]; otherwise, <c>false</c>.</value>
|
|
public bool AllowConnection { get; set; }
|
|
|
|
public WebSocketConnectingEventArgs()
|
|
{
|
|
QueryString = new QueryParamCollection();
|
|
AllowConnection = true;
|
|
}
|
|
}
|
|
|
|
}
|