Renamed ResponseEventArgs.cs to HttpRequestEventArgs.cs, and modified Ext.cs, HttpServer.cs
This commit is contained in:
@@ -560,6 +560,54 @@ namespace WebSocketSharp {
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the specified <see cref="HttpListenerRequest"/> is the HTTP Upgrade request
|
||||
/// to switch to the specified <paramref name="protocol"/>.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// <c>true</c> if the specified <see cref="HttpListenerRequest"/> is the HTTP Upgrade request
|
||||
/// to switch to the specified <paramref name="protocol"/>; otherwise, <c>false</c>.
|
||||
/// </returns>
|
||||
/// <param name="request">
|
||||
/// A <see cref="HttpListenerRequest"/> that contains an HTTP request information.
|
||||
/// </param>
|
||||
/// <param name="protocol">
|
||||
/// A <see cref="string"/> that contains a protocol name.
|
||||
/// </param>
|
||||
/// <exception cref="ArgumentNullException">
|
||||
/// <para>
|
||||
/// <paramref name="request"/> is <see langword="null"/>.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// -or-
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <paramref name="protocol"/> is <see langword="null"/>.
|
||||
/// </para>
|
||||
/// </exception>
|
||||
/// <exception cref="ArgumentException">
|
||||
/// <paramref name="protocol"/> is <see cref="String.Empty"/>.
|
||||
/// </exception>
|
||||
public static bool IsUpgradeTo(this HttpListenerRequest request, string protocol)
|
||||
{
|
||||
if (request.IsNull())
|
||||
throw new ArgumentNullException("request");
|
||||
|
||||
if (protocol.IsNull())
|
||||
throw new ArgumentNullException("protocol");
|
||||
|
||||
if (protocol.IsEmpty())
|
||||
throw new ArgumentException("Must not be empty.", "protocol");
|
||||
|
||||
if (!request.Headers.Exists("Upgrade", protocol))
|
||||
return false;
|
||||
|
||||
if (!request.Headers.Exists("Connection", "Upgrade"))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the specified <see cref="string"/> is valid absolute path.
|
||||
/// </summary>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#region MIT License
|
||||
/*
|
||||
* ResponseEventArgs.cs
|
||||
* HttpRequestEventArgs.cs
|
||||
*
|
||||
* The MIT License
|
||||
*
|
||||
@@ -32,18 +32,18 @@ using WebSocketSharp.Net;
|
||||
namespace WebSocketSharp.Server {
|
||||
|
||||
/// <summary>
|
||||
/// Contains the event data associated with the response events of the <see cref="HttpServer"/> class.
|
||||
/// Contains the event data associated with the HTTP request events of the <see cref="HttpServer"/> class.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// A response event occurs when a <see cref="HttpServer"/> instance receives an HTTP request.
|
||||
/// An HTTP request event occurs when a <see cref="HttpServer"/> instance receives an HTTP request.
|
||||
/// If you want to get the HTTP request objects, you should access the <see cref="ResponseEventArgs.Request"/> property.
|
||||
/// If you want to get the HTTP response objects to send, you should access the <see cref="ResponseEventArgs.Response"/> property.
|
||||
/// </remarks>
|
||||
public class ResponseEventArgs : EventArgs
|
||||
public class HttpRequestEventArgs : EventArgs
|
||||
{
|
||||
#region Constructor
|
||||
|
||||
internal ResponseEventArgs(HttpListenerContext context)
|
||||
internal HttpRequestEventArgs(HttpListenerContext context)
|
||||
{
|
||||
Request = context.Request;
|
||||
Response = context.Response;
|
@@ -37,7 +37,7 @@ using WebSocketSharp.Net;
|
||||
namespace WebSocketSharp.Server {
|
||||
|
||||
/// <summary>
|
||||
/// Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
/// Provides a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
@@ -141,55 +141,55 @@ namespace WebSocketSharp.Server {
|
||||
|
||||
#region Events
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP CONNECT request.
|
||||
/// </summary>
|
||||
public event EventHandler<HttpRequestEventArgs> OnConnect;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP DELETE request.
|
||||
/// </summary>
|
||||
public event EventHandler<HttpRequestEventArgs> OnDelete;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server gets an error.
|
||||
/// </summary>
|
||||
public event EventHandler<ErrorEventArgs> OnError;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP CONNECT request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToConnect;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP DELETE request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToDelete;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP GET request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToGet;
|
||||
public event EventHandler<HttpRequestEventArgs> OnGet;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP HEAD request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToHead;
|
||||
public event EventHandler<HttpRequestEventArgs> OnHead;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP OPTIONS request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToOptions;
|
||||
public event EventHandler<HttpRequestEventArgs> OnOptions;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP PATCH request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToPatch;
|
||||
public event EventHandler<HttpRequestEventArgs> OnPatch;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP POST request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToPost;
|
||||
public event EventHandler<HttpRequestEventArgs> OnPost;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP PUT request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToPut;
|
||||
public event EventHandler<HttpRequestEventArgs> OnPut;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP TRACE request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToTrace;
|
||||
public event EventHandler<HttpRequestEventArgs> OnTrace;
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -217,17 +217,6 @@ namespace WebSocketSharp.Server {
|
||||
configureFromConfigFile();
|
||||
}
|
||||
|
||||
private bool isUpgrade(HttpListenerRequest request, string value)
|
||||
{
|
||||
if (!request.Headers.Exists("Upgrade", value))
|
||||
return false;
|
||||
|
||||
if (!request.Headers.Exists("Connection", "Upgrade"))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void onError(string message)
|
||||
{
|
||||
#if DEBUG
|
||||
@@ -238,6 +227,99 @@ namespace WebSocketSharp.Server {
|
||||
OnError.Emit(this, new ErrorEventArgs(message));
|
||||
}
|
||||
|
||||
private void onRequest(HttpListenerContext context)
|
||||
{
|
||||
var req = context.Request;
|
||||
var res = context.Response;
|
||||
var eventArgs = new HttpRequestEventArgs(context);
|
||||
|
||||
if (req.HttpMethod == "GET" && !OnGet.IsNull())
|
||||
{
|
||||
OnGet(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "HEAD" && !OnHead.IsNull())
|
||||
{
|
||||
OnHead(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "POST" && !OnPost.IsNull())
|
||||
{
|
||||
OnPost(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "PUT" && !OnPut.IsNull())
|
||||
{
|
||||
OnPut(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "DELETE" && !OnDelete.IsNull())
|
||||
{
|
||||
OnDelete(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "OPTIONS" && !OnOptions.IsNull())
|
||||
{
|
||||
OnOptions(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "TRACE" && !OnTrace.IsNull())
|
||||
{
|
||||
OnTrace(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "CONNECT" && !OnConnect.IsNull())
|
||||
{
|
||||
OnConnect(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "PATCH" && !OnPatch.IsNull())
|
||||
{
|
||||
OnPatch(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
res.StatusCode = (int)HttpStatusCode.NotImplemented;
|
||||
}
|
||||
|
||||
private void processRequestAsync(HttpListenerContext context)
|
||||
{
|
||||
WaitCallback callback = (state) =>
|
||||
{
|
||||
var req = context.Request;
|
||||
var res = context.Response;
|
||||
|
||||
try
|
||||
{
|
||||
if (req.IsUpgradeTo("websocket"))
|
||||
{
|
||||
if (upgradeToWebSocket(context))
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
onRequest(context);
|
||||
}
|
||||
|
||||
res.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
onError(ex.Message);
|
||||
}
|
||||
};
|
||||
|
||||
ThreadPool.QueueUserWorkItem(callback);
|
||||
}
|
||||
|
||||
private void receiveRequest()
|
||||
{
|
||||
while (true)
|
||||
@@ -245,7 +327,7 @@ namespace WebSocketSharp.Server {
|
||||
try
|
||||
{
|
||||
var context = _listener.GetContext();
|
||||
respondAsync(context);
|
||||
processRequestAsync(context);
|
||||
}
|
||||
catch (HttpListenerException)
|
||||
{
|
||||
@@ -260,99 +342,6 @@ namespace WebSocketSharp.Server {
|
||||
}
|
||||
}
|
||||
|
||||
private void respond(HttpListenerContext context)
|
||||
{
|
||||
var req = context.Request;
|
||||
var res = context.Response;
|
||||
var eventArgs = new ResponseEventArgs(context);
|
||||
|
||||
if (req.HttpMethod == "GET" && !OnResponseToGet.IsNull())
|
||||
{
|
||||
OnResponseToGet(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "HEAD" && !OnResponseToHead.IsNull())
|
||||
{
|
||||
OnResponseToHead(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "POST" && !OnResponseToPost.IsNull())
|
||||
{
|
||||
OnResponseToPost(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "PUT" && !OnResponseToPut.IsNull())
|
||||
{
|
||||
OnResponseToPut(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "DELETE" && !OnResponseToDelete.IsNull())
|
||||
{
|
||||
OnResponseToDelete(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "OPTIONS" && !OnResponseToOptions.IsNull())
|
||||
{
|
||||
OnResponseToOptions(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "TRACE" && !OnResponseToTrace.IsNull())
|
||||
{
|
||||
OnResponseToTrace(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "CONNECT" && !OnResponseToConnect.IsNull())
|
||||
{
|
||||
OnResponseToConnect(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "PATCH" && !OnResponseToPatch.IsNull())
|
||||
{
|
||||
OnResponseToPatch(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
res.StatusCode = (int)HttpStatusCode.NotImplemented;
|
||||
}
|
||||
|
||||
private void respondAsync(HttpListenerContext context)
|
||||
{
|
||||
WaitCallback callback = (state) =>
|
||||
{
|
||||
var req = context.Request;
|
||||
var res = context.Response;
|
||||
|
||||
try
|
||||
{
|
||||
if (isUpgrade(req, "websocket"))
|
||||
{
|
||||
if (upgradeToWebSocket(context))
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
respond(context);
|
||||
}
|
||||
|
||||
res.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
onError(ex.Message);
|
||||
}
|
||||
};
|
||||
|
||||
ThreadPool.QueueUserWorkItem(callback);
|
||||
}
|
||||
|
||||
private void startReceiveRequestThread()
|
||||
{
|
||||
_receiveRequestThread = new Thread(new ThreadStart(receiveRequest));
|
||||
@@ -430,7 +419,7 @@ namespace WebSocketSharp.Server {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Starts to receive incoming requests.
|
||||
/// Starts the <see cref="HttpServer"/>.
|
||||
/// </summary>
|
||||
public void Start()
|
||||
{
|
||||
@@ -439,7 +428,7 @@ namespace WebSocketSharp.Server {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Stops receiving incoming requests.
|
||||
/// Shuts down the <see cref="HttpServer"/>.
|
||||
/// </summary>
|
||||
public void Stop()
|
||||
{
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -277,6 +277,36 @@
|
||||
A <see cref="T:System.String" /> to test.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.IsUpgradeTo(WebSocketSharp.Net.HttpListenerRequest,System.String)">
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> is the HTTP Upgrade request
|
||||
to switch to the specified <paramref name="protocol" />.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if the specified <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> is the HTTP Upgrade request
|
||||
to switch to the specified <paramref name="protocol" />; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<param name="request">
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> that contains an HTTP request information.
|
||||
</param>
|
||||
<param name="protocol">
|
||||
A <see cref="T:System.String" /> that contains a protocol name.
|
||||
</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<para>
|
||||
<paramref name="request" /> is <see langword="null" />.
|
||||
</para>
|
||||
<para>
|
||||
-or-
|
||||
</para>
|
||||
<para>
|
||||
<paramref name="protocol" /> is <see langword="null" />.
|
||||
</para>
|
||||
</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="protocol" /> is <see cref="F:System.String.Empty" />.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.IsValidAbsolutePath(System.String,System.String@)">
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.String" /> is valid absolute path.
|
||||
@@ -1590,7 +1620,7 @@
|
||||
</member>
|
||||
<member name="T:WebSocketSharp.Server.HttpServer">
|
||||
<summary>
|
||||
Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
Provides a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
@@ -1626,52 +1656,52 @@
|
||||
An <see cref="T:System.Int32" /> that contains a port number.
|
||||
</param>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnConnect">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP CONNECT request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnDelete">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP DELETE request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnError">
|
||||
<summary>
|
||||
Occurs when the server gets an error.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToConnect">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP CONNECT request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToDelete">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP DELETE request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToGet">
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnGet">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP GET request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToHead">
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnHead">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP HEAD request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToOptions">
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnOptions">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP OPTIONS request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToPatch">
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnPatch">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP PATCH request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToPost">
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnPost">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP POST request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToPut">
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnPut">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP PUT request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToTrace">
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnTrace">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP TRACE request.
|
||||
</summary>
|
||||
@@ -1725,40 +1755,14 @@
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Server.HttpServer.Start">
|
||||
<summary>
|
||||
Starts to receive incoming requests.
|
||||
Starts the <see cref="T:WebSocketSharp.Server.HttpServer" />.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Server.HttpServer.Stop">
|
||||
<summary>
|
||||
Stops receiving incoming requests.
|
||||
Shuts down the <see cref="T:WebSocketSharp.Server.HttpServer" />.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:WebSocketSharp.Server.ResponseEventArgs">
|
||||
<summary>
|
||||
Contains the event data associated with the response events of the <see cref="T:WebSocketSharp.Server.HttpServer" /> class.
|
||||
</summary>
|
||||
<remarks>
|
||||
A response event occurs when a <see cref="T:WebSocketSharp.Server.HttpServer" /> instance receives an HTTP request.
|
||||
If you want to get the HTTP request objects, you should access the <see cref="P:WebSocketSharp.Server.ResponseEventArgs.Request" /> property.
|
||||
If you want to get the HTTP response objects to send, you should access the <see cref="P:WebSocketSharp.Server.ResponseEventArgs.Response" /> property.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Server.ResponseEventArgs.Request">
|
||||
<summary>
|
||||
Gets the HTTP request objects sent from a client.
|
||||
</summary>
|
||||
<value>
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> that contains the HTTP request objects.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Server.ResponseEventArgs.Response">
|
||||
<summary>
|
||||
Gets the HTTP response objects to send to the client in response to the client's request.
|
||||
</summary>
|
||||
<value>
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> that contains the HTTP response objects.
|
||||
</value>
|
||||
</member>
|
||||
<member name="T:WebSocketSharp.Net.HttpVersion">
|
||||
<summary>
|
||||
Provides the HTTP version numbers.
|
||||
@@ -3070,5 +3074,31 @@
|
||||
When this method returns, contains the <see cref="T:WebSocketSharp.Server.WebSocketService" /> with the specified <paramref name="id" />, if the <paramref name="id" /> is found; otherwise, <see langword="null" />.
|
||||
</param>
|
||||
</member>
|
||||
<member name="T:WebSocketSharp.Server.HttpRequestEventArgs">
|
||||
<summary>
|
||||
Contains the event data associated with the HTTP request events of the <see cref="T:WebSocketSharp.Server.HttpServer" /> class.
|
||||
</summary>
|
||||
<remarks>
|
||||
An HTTP request event occurs when a <see cref="T:WebSocketSharp.Server.HttpServer" /> instance receives an HTTP request.
|
||||
If you want to get the HTTP request objects, you should access the <see cref="!:ResponseEventArgs.Request" /> property.
|
||||
If you want to get the HTTP response objects to send, you should access the <see cref="!:ResponseEventArgs.Response" /> property.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Server.HttpRequestEventArgs.Request">
|
||||
<summary>
|
||||
Gets the HTTP request objects sent from a client.
|
||||
</summary>
|
||||
<value>
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> that contains the HTTP request objects.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Server.HttpRequestEventArgs.Response">
|
||||
<summary>
|
||||
Gets the HTTP response objects to send to the client in response to the client's request.
|
||||
</summary>
|
||||
<value>
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> that contains the HTTP response objects.
|
||||
</value>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
@@ -0,0 +1,348 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>WebSocketSharp.Server.HttpRequestEventArgs</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<style>
|
||||
a { text-decoration: none }
|
||||
|
||||
div.SideBar {
|
||||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
right: 0;
|
||||
float: right;
|
||||
border: thin solid black;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.CollectionTitle { font-weight: bold }
|
||||
.PageTitle { font-size: 150%; font-weight: bold }
|
||||
|
||||
.Summary { }
|
||||
.Signature { }
|
||||
.Remarks { }
|
||||
.Members { }
|
||||
.Copyright { }
|
||||
|
||||
.Section { font-size: 125%; font-weight: bold }
|
||||
p.Summary {
|
||||
margin-left: 1em;
|
||||
}
|
||||
.SectionBox { margin-left: 2em }
|
||||
.NamespaceName { font-size: 105%; font-weight: bold }
|
||||
.NamespaceSumary { }
|
||||
.MemberName { font-size: 115%; font-weight: bold; margin-top: 1em }
|
||||
.Subsection { font-size: 105%; font-weight: bold }
|
||||
.SubsectionBox { margin-left: 2em; margin-bottom: 1em }
|
||||
|
||||
.CodeExampleTable { background-color: #f5f5dd; border: thin solid black; padding: .25em; }
|
||||
|
||||
.TypesListing {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
}
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.TypesListing td {
|
||||
margin: 0px;
|
||||
padding: .25em;
|
||||
border: solid gray 1px;
|
||||
}
|
||||
|
||||
.TypesListing th {
|
||||
margin: 0px;
|
||||
padding: .25em;
|
||||
background-color: #f2f2f2;
|
||||
border: solid gray 1px;
|
||||
}
|
||||
|
||||
div.Footer {
|
||||
border-top: 1px solid gray;
|
||||
margin-top: 1.5em;
|
||||
padding-top: 0.6em;
|
||||
text-align: center;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
span.NotEntered /* Documentation for this section has not yet been entered */ {
|
||||
font-style: italic;
|
||||
color: red;
|
||||
}
|
||||
|
||||
div.Header {
|
||||
background: #B0C4DE;
|
||||
border: double;
|
||||
border-color: white;
|
||||
border-width: 7px;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
div.Header * {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
div.Note {
|
||||
}
|
||||
|
||||
i.ParamRef {
|
||||
}
|
||||
|
||||
i.subtitle {
|
||||
}
|
||||
|
||||
ul.TypeMembersIndex {
|
||||
text-align: left;
|
||||
background: #F8F8F8;
|
||||
}
|
||||
|
||||
ul.TypeMembersIndex li {
|
||||
display: inline;
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
table.HeaderTable {
|
||||
}
|
||||
|
||||
table.SignatureTable {
|
||||
}
|
||||
|
||||
table.Documentation, table.Enumeration, table.TypeDocumentation {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.Documentation tr th, table.TypeMembers tr th, table.Enumeration tr th, table.TypeDocumentation tr th {
|
||||
background: whitesmoke;
|
||||
padding: 0.8em;
|
||||
border: 1px solid gray;
|
||||
text-align: left;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
table.Documentation tr td, table.TypeMembers tr td, table.Enumeration tr td, table.TypeDocumentation tr td {
|
||||
padding: 0.5em;
|
||||
border: 1px solid gray;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
table.TypeMembers {
|
||||
border: 1px solid #C0C0C0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.TypeMembers tr td {
|
||||
background: #F8F8F8;
|
||||
border: white;
|
||||
}
|
||||
|
||||
table.Documentation {
|
||||
}
|
||||
|
||||
table.TypeMembers {
|
||||
}
|
||||
|
||||
div.CodeExample {
|
||||
width: 100%;
|
||||
border: 1px solid #DDDDDD;
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
|
||||
div.CodeExample p {
|
||||
margin: 0.5em;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
}
|
||||
|
||||
div.CodeExample div {
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
div.Signature {
|
||||
border: 1px solid #C0C0C0;
|
||||
background: #F2F2F2;
|
||||
padding: 1em;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
function toggle_display (block) {
|
||||
var w = document.getElementById (block);
|
||||
var t = document.getElementById (block + ":toggle");
|
||||
if (w.style.display == "none") {
|
||||
w.style.display = "block";
|
||||
t.innerHTML = "⊟";
|
||||
} else {
|
||||
w.style.display = "none";
|
||||
t.innerHTML = "⊞";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="CollectionTitle">
|
||||
<a href="../index.html">websocket-sharp</a> : <a href="index.html">WebSocketSharp.Server Namespace</a></div>
|
||||
<div class="SideBar">
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.Server.HttpRequestEventArgs">Overview</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.Server.HttpRequestEventArgs:Signature">Signature</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.Server.HttpRequestEventArgs:Docs">Remarks</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#Members">Members</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.Server.HttpRequestEventArgs:Members">Member Details</a>
|
||||
</p>
|
||||
</div>
|
||||
<h1 class="PageTitle" id="T:WebSocketSharp.Server.HttpRequestEventArgs">HttpRequestEventArgs Class</h1>
|
||||
<p class="Summary" id="T:WebSocketSharp.Server.HttpRequestEventArgs:Summary">
|
||||
Contains the event data associated with the HTTP request events of the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class.
|
||||
</p>
|
||||
<div id="T:WebSocketSharp.Server.HttpRequestEventArgs:Signature">
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public class <b>HttpRequestEventArgs</b> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventArgs">EventArgs</a></div>
|
||||
</div>
|
||||
<div class="Remarks" id="T:WebSocketSharp.Server.HttpRequestEventArgs:Docs">
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.Server.HttpRequestEventArgs:Docs:Remarks">
|
||||
An HTTP request event occurs when a <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> instance receives an HTTP request.
|
||||
If you want to get the HTTP request objects, you should access the <a href="javascript:alert("Documentation not found.")">ResponseEventArgs.Request</a> property.
|
||||
If you want to get the HTTP response objects to send, you should access the <a href="javascript:alert("Documentation not found.")">ResponseEventArgs.Response</a> property.
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.Server.HttpRequestEventArgs:Docs:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<h2 class="Section" id="Members">Members</h2>
|
||||
<div class="SectionBox" id="_Members">
|
||||
<p>
|
||||
See Also: Inherited members from
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventArgs">EventArgs</a>.
|
||||
</p>
|
||||
<h2 class="Section">Public Properties</h2>
|
||||
<div class="SectionBox" id="Public Properties">
|
||||
<div class="SubsectionBox">
|
||||
<table class="TypeMembers">
|
||||
<tr valign="top">
|
||||
<td>[read-only]<div></div></td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#P:WebSocketSharp.Server.HttpRequestEventArgs.Request">Request</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<i>
|
||||
<a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a>
|
||||
</i>.
|
||||
Gets the HTTP request objects sent from a client.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>[read-only]<div></div></td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#P:WebSocketSharp.Server.HttpRequestEventArgs.Response">Response</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<i>
|
||||
<a href="../WebSocketSharp.Net/HttpListenerResponse.html">WebSocketSharp.Net.HttpListenerResponse</a>
|
||||
</i>.
|
||||
Gets the HTTP response objects to send to the client in response to the client's request.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="Section">Extension Methods</h2>
|
||||
<div class="SectionBox" id="Extension Methods">
|
||||
<div class="SubsectionBox">
|
||||
<table class="TypeMembers">
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull<T></a>
|
||||
</b>(<i>this</i> <i title="
 The type of the parameter.
 ">T</i>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified object is <tt>null</tt>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNullDo``1(``0,System.Action)">IsNullDo<T></a>
|
||||
</b>(<i>this</i> <i title="
 The type of the parameter.
 ">T</i>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified object is <tt>null</tt>.
|
||||
And invokes the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate if the specified object is <tt>null</tt>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Members" id="T:WebSocketSharp.Server.HttpRequestEventArgs:Members">
|
||||
<h2 class="Section" id="MemberDetails">Member Details</h2>
|
||||
<div class="SectionBox" id="_MemberDetails">
|
||||
<h3 id="P:WebSocketSharp.Server.HttpRequestEventArgs.Request">Request Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Server.HttpRequestEventArgs.Request:member">
|
||||
<p class="Summary">
|
||||
Gets the HTTP request objects sent from a client.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a> <b>Request</b> { get; }</div>
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.HttpRequestEventArgs.Request:Value">
|
||||
A <a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a> that contains the HTTP request objects.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpRequestEventArgs.Request:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpRequestEventArgs.Request:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="P:WebSocketSharp.Server.HttpRequestEventArgs.Response">Response Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Server.HttpRequestEventArgs.Response:member">
|
||||
<p class="Summary">
|
||||
Gets the HTTP response objects to send to the client in response to the client's request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="../WebSocketSharp.Net/HttpListenerResponse.html">WebSocketSharp.Net.HttpListenerResponse</a> <b>Response</b> { get; }</div>
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.HttpRequestEventArgs.Response:Value">
|
||||
A <a href="../WebSocketSharp.Net/HttpListenerResponse.html">WebSocketSharp.Net.HttpListenerResponse</a> that contains the HTTP response objects.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpRequestEventArgs.Response:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpRequestEventArgs.Response:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
<hr size="1" />
|
||||
<div class="Copyright">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -207,7 +207,7 @@
|
||||
</div>
|
||||
<h1 class="PageTitle" id="T:WebSocketSharp.Server.HttpServer">HttpServer Class</h1>
|
||||
<p class="Summary" id="T:WebSocketSharp.Server.HttpServer:Summary">
|
||||
Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
Provides a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
</p>
|
||||
<div id="T:WebSocketSharp.Server.HttpServer:Signature">
|
||||
<h2>Syntax</h2>
|
||||
@@ -383,7 +383,7 @@
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Server.HttpServer.Start">Start</a>
|
||||
</b>()<blockquote>
|
||||
Starts to receive incoming requests.
|
||||
Starts the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -395,7 +395,7 @@
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Server.HttpServer.Stop">Stop</a>
|
||||
</b>()<blockquote>
|
||||
Stops receiving incoming requests.
|
||||
Shuts down the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -405,6 +405,34 @@
|
||||
<div class="SectionBox" id="Public Events">
|
||||
<div class="SubsectionBox">
|
||||
<table class="TypeMembers">
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnConnect">OnConnect</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
Occurs when the server receives an HTTP CONNECT request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnDelete">OnDelete</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
Occurs when the server receives an HTTP DELETE request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
@@ -426,35 +454,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToConnect">OnResponseToConnect</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
Occurs when the server receives an HTTP CONNECT request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToDelete">OnResponseToDelete</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
Occurs when the server receives an HTTP DELETE request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToGet">OnResponseToGet</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnGet">OnGet</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
@@ -468,7 +468,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToHead">OnResponseToHead</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnHead">OnHead</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
@@ -482,7 +482,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToOptions">OnResponseToOptions</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnOptions">OnOptions</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
@@ -496,7 +496,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToPatch">OnResponseToPatch</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnPatch">OnPatch</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
@@ -510,7 +510,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToPost">OnResponseToPost</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnPost">OnPost</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
@@ -524,7 +524,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToPut">OnResponseToPut</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnPut">OnPut</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
@@ -538,7 +538,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToTrace">OnResponseToTrace</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnTrace">OnTrace</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
@@ -697,6 +697,38 @@
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnConnect">OnConnect Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnConnect:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP CONNECT request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<HttpRequestEventArgs></a> <b>OnConnect</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnConnect:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnConnect:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnDelete">OnDelete Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnDelete:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP DELETE request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<HttpRequestEventArgs></a> <b>OnDelete</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnDelete:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnDelete:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnError">OnError Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnError:member">
|
||||
<p class="Summary">
|
||||
@@ -713,147 +745,115 @@
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToConnect">OnResponseToConnect Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToConnect:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP CONNECT request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<ResponseEventArgs></a> <b>OnResponseToConnect</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToConnect:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToConnect:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToDelete">OnResponseToDelete Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToDelete:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP DELETE request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<ResponseEventArgs></a> <b>OnResponseToDelete</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToDelete:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToDelete:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToGet">OnResponseToGet Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToGet:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnGet">OnGet Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnGet:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP GET request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<ResponseEventArgs></a> <b>OnResponseToGet</b> </div>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<HttpRequestEventArgs></a> <b>OnGet</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToGet:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnGet:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToGet:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnGet:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToHead">OnResponseToHead Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToHead:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnHead">OnHead Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnHead:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP HEAD request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<ResponseEventArgs></a> <b>OnResponseToHead</b> </div>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<HttpRequestEventArgs></a> <b>OnHead</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToHead:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnHead:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToHead:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnHead:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToOptions">OnResponseToOptions Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToOptions:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnOptions">OnOptions Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnOptions:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP OPTIONS request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<ResponseEventArgs></a> <b>OnResponseToOptions</b> </div>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<HttpRequestEventArgs></a> <b>OnOptions</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToOptions:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnOptions:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToOptions:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnOptions:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToPatch">OnResponseToPatch Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToPatch:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnPatch">OnPatch Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnPatch:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP PATCH request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<ResponseEventArgs></a> <b>OnResponseToPatch</b> </div>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<HttpRequestEventArgs></a> <b>OnPatch</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPatch:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnPatch:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPatch:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnPatch:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToPost">OnResponseToPost Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToPost:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnPost">OnPost Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnPost:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP POST request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<ResponseEventArgs></a> <b>OnResponseToPost</b> </div>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<HttpRequestEventArgs></a> <b>OnPost</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPost:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnPost:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPost:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnPost:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToPut">OnResponseToPut Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToPut:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnPut">OnPut Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnPut:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP PUT request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<ResponseEventArgs></a> <b>OnResponseToPut</b> </div>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<HttpRequestEventArgs></a> <b>OnPut</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPut:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnPut:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPut:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnPut:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToTrace">OnResponseToTrace Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToTrace:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnTrace">OnTrace Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnTrace:member">
|
||||
<p class="Summary">
|
||||
Occurs when the server receives an HTTP TRACE request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<ResponseEventArgs></a> <b>OnResponseToTrace</b> </div>
|
||||
<div class="Signature">public event <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventHandler`1">EventHandler<HttpRequestEventArgs></a> <b>OnTrace</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToTrace:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnTrace:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToTrace:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnTrace:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
@@ -900,7 +900,7 @@
|
||||
<h3 id="M:WebSocketSharp.Server.HttpServer.Start">Start Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Server.HttpServer.Start:member">
|
||||
<p class="Summary">
|
||||
Starts to receive incoming requests.
|
||||
Starts the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Start</b> ()</div>
|
||||
@@ -916,7 +916,7 @@
|
||||
<h3 id="M:WebSocketSharp.Server.HttpServer.Stop">Stop Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Server.HttpServer.Stop:member">
|
||||
<p class="Summary">
|
||||
Stops receiving incoming requests.
|
||||
Shuts down the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Stop</b> ()</div>
|
||||
|
@@ -0,0 +1,348 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>WebSocketSharp.Server.RequestEventArgs</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<style>
|
||||
a { text-decoration: none }
|
||||
|
||||
div.SideBar {
|
||||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
right: 0;
|
||||
float: right;
|
||||
border: thin solid black;
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
.CollectionTitle { font-weight: bold }
|
||||
.PageTitle { font-size: 150%; font-weight: bold }
|
||||
|
||||
.Summary { }
|
||||
.Signature { }
|
||||
.Remarks { }
|
||||
.Members { }
|
||||
.Copyright { }
|
||||
|
||||
.Section { font-size: 125%; font-weight: bold }
|
||||
p.Summary {
|
||||
margin-left: 1em;
|
||||
}
|
||||
.SectionBox { margin-left: 2em }
|
||||
.NamespaceName { font-size: 105%; font-weight: bold }
|
||||
.NamespaceSumary { }
|
||||
.MemberName { font-size: 115%; font-weight: bold; margin-top: 1em }
|
||||
.Subsection { font-size: 105%; font-weight: bold }
|
||||
.SubsectionBox { margin-left: 2em; margin-bottom: 1em }
|
||||
|
||||
.CodeExampleTable { background-color: #f5f5dd; border: thin solid black; padding: .25em; }
|
||||
|
||||
.TypesListing {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
}
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.TypesListing td {
|
||||
margin: 0px;
|
||||
padding: .25em;
|
||||
border: solid gray 1px;
|
||||
}
|
||||
|
||||
.TypesListing th {
|
||||
margin: 0px;
|
||||
padding: .25em;
|
||||
background-color: #f2f2f2;
|
||||
border: solid gray 1px;
|
||||
}
|
||||
|
||||
div.Footer {
|
||||
border-top: 1px solid gray;
|
||||
margin-top: 1.5em;
|
||||
padding-top: 0.6em;
|
||||
text-align: center;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
span.NotEntered /* Documentation for this section has not yet been entered */ {
|
||||
font-style: italic;
|
||||
color: red;
|
||||
}
|
||||
|
||||
div.Header {
|
||||
background: #B0C4DE;
|
||||
border: double;
|
||||
border-color: white;
|
||||
border-width: 7px;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
div.Header * {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
div.Note {
|
||||
}
|
||||
|
||||
i.ParamRef {
|
||||
}
|
||||
|
||||
i.subtitle {
|
||||
}
|
||||
|
||||
ul.TypeMembersIndex {
|
||||
text-align: left;
|
||||
background: #F8F8F8;
|
||||
}
|
||||
|
||||
ul.TypeMembersIndex li {
|
||||
display: inline;
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
table.HeaderTable {
|
||||
}
|
||||
|
||||
table.SignatureTable {
|
||||
}
|
||||
|
||||
table.Documentation, table.Enumeration, table.TypeDocumentation {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.Documentation tr th, table.TypeMembers tr th, table.Enumeration tr th, table.TypeDocumentation tr th {
|
||||
background: whitesmoke;
|
||||
padding: 0.8em;
|
||||
border: 1px solid gray;
|
||||
text-align: left;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
table.Documentation tr td, table.TypeMembers tr td, table.Enumeration tr td, table.TypeDocumentation tr td {
|
||||
padding: 0.5em;
|
||||
border: 1px solid gray;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
table.TypeMembers {
|
||||
border: 1px solid #C0C0C0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.TypeMembers tr td {
|
||||
background: #F8F8F8;
|
||||
border: white;
|
||||
}
|
||||
|
||||
table.Documentation {
|
||||
}
|
||||
|
||||
table.TypeMembers {
|
||||
}
|
||||
|
||||
div.CodeExample {
|
||||
width: 100%;
|
||||
border: 1px solid #DDDDDD;
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
|
||||
div.CodeExample p {
|
||||
margin: 0.5em;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
}
|
||||
|
||||
div.CodeExample div {
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
div.Signature {
|
||||
border: 1px solid #C0C0C0;
|
||||
background: #F2F2F2;
|
||||
padding: 1em;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
function toggle_display (block) {
|
||||
var w = document.getElementById (block);
|
||||
var t = document.getElementById (block + ":toggle");
|
||||
if (w.style.display == "none") {
|
||||
w.style.display = "block";
|
||||
t.innerHTML = "⊟";
|
||||
} else {
|
||||
w.style.display = "none";
|
||||
t.innerHTML = "⊞";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="CollectionTitle">
|
||||
<a href="../index.html">websocket-sharp</a> : <a href="index.html">WebSocketSharp.Server Namespace</a></div>
|
||||
<div class="SideBar">
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.Server.RequestEventArgs">Overview</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.Server.RequestEventArgs:Signature">Signature</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.Server.RequestEventArgs:Docs">Remarks</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#Members">Members</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#T:WebSocketSharp.Server.RequestEventArgs:Members">Member Details</a>
|
||||
</p>
|
||||
</div>
|
||||
<h1 class="PageTitle" id="T:WebSocketSharp.Server.RequestEventArgs">RequestEventArgs Class</h1>
|
||||
<p class="Summary" id="T:WebSocketSharp.Server.RequestEventArgs:Summary">
|
||||
Contains the event data associated with the request events of the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class.
|
||||
</p>
|
||||
<div id="T:WebSocketSharp.Server.RequestEventArgs:Signature">
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public class <b>RequestEventArgs</b> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventArgs">EventArgs</a></div>
|
||||
</div>
|
||||
<div class="Remarks" id="T:WebSocketSharp.Server.RequestEventArgs:Docs">
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.Server.RequestEventArgs:Docs:Remarks">
|
||||
A request event occurs when a <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> instance receives an HTTP request.
|
||||
If you want to get the HTTP request objects, you should access the <a href="javascript:alert("Documentation not found.")">ResponseEventArgs.Request</a> property.
|
||||
If you want to get the HTTP response objects to send, you should access the <a href="javascript:alert("Documentation not found.")">ResponseEventArgs.Response</a> property.
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.Server.RequestEventArgs:Docs:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<h2 class="Section" id="Members">Members</h2>
|
||||
<div class="SectionBox" id="_Members">
|
||||
<p>
|
||||
See Also: Inherited members from
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventArgs">EventArgs</a>.
|
||||
</p>
|
||||
<h2 class="Section">Public Properties</h2>
|
||||
<div class="SectionBox" id="Public Properties">
|
||||
<div class="SubsectionBox">
|
||||
<table class="TypeMembers">
|
||||
<tr valign="top">
|
||||
<td>[read-only]<div></div></td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#P:WebSocketSharp.Server.RequestEventArgs.Request">Request</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<i>
|
||||
<a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a>
|
||||
</i>.
|
||||
Gets the HTTP request objects sent from a client.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>[read-only]<div></div></td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#P:WebSocketSharp.Server.RequestEventArgs.Response">Response</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<i>
|
||||
<a href="../WebSocketSharp.Net/HttpListenerResponse.html">WebSocketSharp.Net.HttpListenerResponse</a>
|
||||
</i>.
|
||||
Gets the HTTP response objects to send to the client in response to the client's request.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="Section">Extension Methods</h2>
|
||||
<div class="SectionBox" id="Extension Methods">
|
||||
<div class="SubsectionBox">
|
||||
<table class="TypeMembers">
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull<T></a>
|
||||
</b>(<i>this</i> <i title="
 The type of the parameter.
 ">T</i>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified object is <tt>null</tt>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNullDo``1(``0,System.Action)">IsNullDo<T></a>
|
||||
</b>(<i>this</i> <i title="
 The type of the parameter.
 ">T</i>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified object is <tt>null</tt>.
|
||||
And invokes the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate if the specified object is <tt>null</tt>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Members" id="T:WebSocketSharp.Server.RequestEventArgs:Members">
|
||||
<h2 class="Section" id="MemberDetails">Member Details</h2>
|
||||
<div class="SectionBox" id="_MemberDetails">
|
||||
<h3 id="P:WebSocketSharp.Server.RequestEventArgs.Request">Request Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Server.RequestEventArgs.Request:member">
|
||||
<p class="Summary">
|
||||
Gets the HTTP request objects sent from a client.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a> <b>Request</b> { get; }</div>
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.RequestEventArgs.Request:Value">
|
||||
A <a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a> that contains the HTTP request objects.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.RequestEventArgs.Request:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.RequestEventArgs.Request:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="P:WebSocketSharp.Server.RequestEventArgs.Response">Response Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Server.RequestEventArgs.Response:member">
|
||||
<p class="Summary">
|
||||
Gets the HTTP response objects to send to the client in response to the client's request.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="../WebSocketSharp.Net/HttpListenerResponse.html">WebSocketSharp.Net.HttpListenerResponse</a> <b>Response</b> { get; }</div>
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.RequestEventArgs.Response:Value">
|
||||
A <a href="../WebSocketSharp.Net/HttpListenerResponse.html">WebSocketSharp.Net.HttpListenerResponse</a> that contains the HTTP response objects.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.RequestEventArgs.Response:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.RequestEventArgs.Response:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
<hr size="1" />
|
||||
<div class="Copyright">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@@ -202,12 +202,20 @@
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="./HttpRequestEventArgs.html">HttpRequestEventArgs</a>
|
||||
</td>
|
||||
<td>
|
||||
Contains the event data associated with the HTTP request events of the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="./HttpServer.html">HttpServer</a>
|
||||
</td>
|
||||
<td>
|
||||
Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
Provides a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -218,14 +226,6 @@
|
||||
Exposes the methods and property for the WebSocket service host.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="./ResponseEventArgs.html">ResponseEventArgs</a>
|
||||
</td>
|
||||
<td>
|
||||
Contains the event data associated with the response events of the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="./WebSocketServer.html">WebSocketServer</a>
|
||||
|
@@ -440,6 +440,18 @@
|
||||
<a href="#M:WebSocketSharp.Ext.IsPredefinedScheme(System.String)">IsPredefinedScheme</a>
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> is predefined scheme.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>static </div>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Ext.IsUpgradeTo(WebSocketSharp.Net.HttpListenerRequest,System.String)">IsUpgradeTo</a>
|
||||
</b>(<i>this</i> <a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
Determines whether the specified <a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a> is the HTTP Upgrade request
|
||||
to switch to the specified <i>protocol</i>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -1474,6 +1486,78 @@
|
||||
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Ext.IsUpgradeTo(WebSocketSharp.Net.HttpListenerRequest,System.String)">IsUpgradeTo Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.IsUpgradeTo(WebSocketSharp.Net.HttpListenerRequest,System.String):member">
|
||||
<p class="Summary">
|
||||
Determines whether the specified <a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a> is the HTTP Upgrade request
|
||||
to switch to the specified <i>protocol</i>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>IsUpgradeTo</b> (<i>this</i> <a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a> request, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> protocol)</div>
|
||||
<h4 class="Subsection">Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.IsUpgradeTo(WebSocketSharp.Net.HttpListenerRequest,System.String):Parameters">
|
||||
<dl>
|
||||
<dt>
|
||||
<i>request</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a> that contains an HTTP request information.
|
||||
</dd>
|
||||
<dt>
|
||||
<i>protocol</i>
|
||||
</dt>
|
||||
<dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a protocol name.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.IsUpgradeTo(WebSocketSharp.Net.HttpListenerRequest,System.String):Returns">
|
||||
<tt>true</tt> if the specified <a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a> is the HTTP Upgrade request
|
||||
to switch to the specified <i>protocol</i>; otherwise, <tt>false</tt>.
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.IsUpgradeTo(WebSocketSharp.Net.HttpListenerRequest,System.String):Exceptions">
|
||||
<table class="TypeDocumentation">
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Reason</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentNullException">ArgumentNullException</a>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<i>request</i> is <tt>null</tt>.
|
||||
</p>
|
||||
<p>
|
||||
-or-
|
||||
</p>
|
||||
<p>
|
||||
<i>protocol</i> is <tt>null</tt>.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ArgumentException">ArgumentException</a>
|
||||
</td>
|
||||
<td>
|
||||
<i>protocol</i> is <a href="http://www.go-mono.com/docs/monodoc.ashx?link=F:System.String.Empty">string.Empty</a>.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.IsUpgradeTo(WebSocketSharp.Net.HttpListenerRequest,System.String):Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.IsUpgradeTo(WebSocketSharp.Net.HttpListenerRequest,System.String):Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Ext.IsValidAbsolutePath(System.String,System.String@)">IsValidAbsolutePath Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.IsValidAbsolutePath(System.String,System.String@):member">
|
||||
<p class="Summary">
|
||||
|
@@ -450,12 +450,20 @@
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="WebSocketSharp.Server/HttpRequestEventArgs.html">HttpRequestEventArgs</a>
|
||||
</td>
|
||||
<td>
|
||||
Contains the event data associated with the HTTP request events of the <a href="./WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="WebSocketSharp.Server/HttpServer.html">HttpServer</a>
|
||||
</td>
|
||||
<td>
|
||||
Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
Provides a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -466,14 +474,6 @@
|
||||
Exposes the methods and property for the WebSocket service host.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="WebSocketSharp.Server/ResponseEventArgs.html">ResponseEventArgs</a>
|
||||
</td>
|
||||
<td>
|
||||
Contains the event data associated with the response events of the <a href="./WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="WebSocketSharp.Server/WebSocketServer.html">WebSocketServer</a>
|
||||
|
@@ -0,0 +1,57 @@
|
||||
<Type Name="HttpRequestEventArgs" FullName="WebSocketSharp.Server.HttpRequestEventArgs">
|
||||
<TypeSignature Language="C#" Value="public class HttpRequestEventArgs : EventArgs" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit HttpRequestEventArgs extends System.EventArgs" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>websocket-sharp</AssemblyName>
|
||||
</AssemblyInfo>
|
||||
<Base>
|
||||
<BaseTypeName>System.EventArgs</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>
|
||||
Contains the event data associated with the HTTP request events of the <see cref="T:WebSocketSharp.Server.HttpServer" /> class.
|
||||
</summary>
|
||||
<remarks>
|
||||
An HTTP request event occurs when a <see cref="T:WebSocketSharp.Server.HttpServer" /> instance receives an HTTP request.
|
||||
If you want to get the HTTP request objects, you should access the <see cref="!:ResponseEventArgs.Request" /> property.
|
||||
If you want to get the HTTP response objects to send, you should access the <see cref="!:ResponseEventArgs.Response" /> property.
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="Request">
|
||||
<MemberSignature Language="C#" Value="public WebSocketSharp.Net.HttpListenerRequest Request { get; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance class WebSocketSharp.Net.HttpListenerRequest Request" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>WebSocketSharp.Net.HttpListenerRequest</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Gets the HTTP request objects sent from a client.
|
||||
</summary>
|
||||
<value>
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> that contains the HTTP request objects.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Response">
|
||||
<MemberSignature Language="C#" Value="public WebSocketSharp.Net.HttpListenerResponse Response { get; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance class WebSocketSharp.Net.HttpListenerResponse Response" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>WebSocketSharp.Net.HttpListenerResponse</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Gets the HTTP response objects to send to the client in response to the client's request.
|
||||
</summary>
|
||||
<value>
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> that contains the HTTP response objects.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
@@ -10,7 +10,7 @@
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>
|
||||
Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
Provides a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
@@ -125,6 +125,34 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnConnect">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.HttpRequestEventArgs> OnConnect;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.HttpRequestEventArgs> OnConnect" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.HttpRequestEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP CONNECT request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnDelete">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.HttpRequestEventArgs> OnDelete;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.HttpRequestEventArgs> OnDelete" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.HttpRequestEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP DELETE request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnError">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.ErrorEventArgs> OnError;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.ErrorEventArgs> OnError" />
|
||||
@@ -139,40 +167,12 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnResponseToConnect">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnResponseToConnect;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnResponseToConnect" />
|
||||
<Member MemberName="OnGet">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.HttpRequestEventArgs> OnGet;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.HttpRequestEventArgs> OnGet" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP CONNECT request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnResponseToDelete">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnResponseToDelete;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnResponseToDelete" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP DELETE request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnResponseToGet">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnResponseToGet;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnResponseToGet" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.HttpRequestEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
@@ -181,12 +181,12 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnResponseToHead">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnResponseToHead;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnResponseToHead" />
|
||||
<Member MemberName="OnHead">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.HttpRequestEventArgs> OnHead;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.HttpRequestEventArgs> OnHead" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.HttpRequestEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
@@ -195,12 +195,12 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnResponseToOptions">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnResponseToOptions;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnResponseToOptions" />
|
||||
<Member MemberName="OnOptions">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.HttpRequestEventArgs> OnOptions;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.HttpRequestEventArgs> OnOptions" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.HttpRequestEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
@@ -209,12 +209,12 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnResponseToPatch">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnResponseToPatch;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnResponseToPatch" />
|
||||
<Member MemberName="OnPatch">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.HttpRequestEventArgs> OnPatch;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.HttpRequestEventArgs> OnPatch" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.HttpRequestEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
@@ -223,12 +223,12 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnResponseToPost">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnResponseToPost;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnResponseToPost" />
|
||||
<Member MemberName="OnPost">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.HttpRequestEventArgs> OnPost;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.HttpRequestEventArgs> OnPost" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.HttpRequestEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
@@ -237,12 +237,12 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnResponseToPut">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnResponseToPut;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnResponseToPut" />
|
||||
<Member MemberName="OnPut">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.HttpRequestEventArgs> OnPut;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.HttpRequestEventArgs> OnPut" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.HttpRequestEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
@@ -251,12 +251,12 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnResponseToTrace">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnResponseToTrace;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnResponseToTrace" />
|
||||
<Member MemberName="OnTrace">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.HttpRequestEventArgs> OnTrace;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.HttpRequestEventArgs> OnTrace" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.HttpRequestEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
@@ -309,7 +309,7 @@
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>
|
||||
Starts to receive incoming requests.
|
||||
Starts the <see cref="T:WebSocketSharp.Server.HttpServer" />.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
@@ -324,7 +324,7 @@
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>
|
||||
Stops receiving incoming requests.
|
||||
Shuts down the <see cref="T:WebSocketSharp.Server.HttpServer" />.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
|
@@ -0,0 +1,57 @@
|
||||
<Type Name="RequestEventArgs" FullName="WebSocketSharp.Server.RequestEventArgs">
|
||||
<TypeSignature Language="C#" Value="public class RequestEventArgs : EventArgs" />
|
||||
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit RequestEventArgs extends System.EventArgs" />
|
||||
<AssemblyInfo>
|
||||
<AssemblyName>websocket-sharp</AssemblyName>
|
||||
</AssemblyInfo>
|
||||
<Base>
|
||||
<BaseTypeName>System.EventArgs</BaseTypeName>
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>
|
||||
Contains the event data associated with the request events of the <see cref="T:WebSocketSharp.Server.HttpServer" /> class.
|
||||
</summary>
|
||||
<remarks>
|
||||
A request event occurs when a <see cref="T:WebSocketSharp.Server.HttpServer" /> instance receives an HTTP request.
|
||||
If you want to get the HTTP request objects, you should access the <see cref="!:ResponseEventArgs.Request" /> property.
|
||||
If you want to get the HTTP response objects to send, you should access the <see cref="!:ResponseEventArgs.Response" /> property.
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="Request">
|
||||
<MemberSignature Language="C#" Value="public WebSocketSharp.Net.HttpListenerRequest Request { get; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance class WebSocketSharp.Net.HttpListenerRequest Request" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>WebSocketSharp.Net.HttpListenerRequest</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Gets the HTTP request objects sent from a client.
|
||||
</summary>
|
||||
<value>
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> that contains the HTTP request objects.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Response">
|
||||
<MemberSignature Language="C#" Value="public WebSocketSharp.Net.HttpListenerResponse Response { get; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance class WebSocketSharp.Net.HttpListenerResponse Response" />
|
||||
<MemberType>Property</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>WebSocketSharp.Net.HttpListenerResponse</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Gets the HTTP response objects to send to the client in response to the client's request.
|
||||
</summary>
|
||||
<value>
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerResponse" /> that contains the HTTP response objects.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
</Type>
|
@@ -548,6 +548,49 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="IsUpgradeTo">
|
||||
<MemberSignature Language="C#" Value="public static bool IsUpgradeTo (this WebSocketSharp.Net.HttpListenerRequest request, string protocol);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsUpgradeTo(class WebSocketSharp.Net.HttpListenerRequest request, string protocol) cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="request" Type="WebSocketSharp.Net.HttpListenerRequest" RefType="this" />
|
||||
<Parameter Name="protocol" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="request">
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> that contains an HTTP request information.
|
||||
</param>
|
||||
<param name="protocol">
|
||||
A <see cref="T:System.String" /> that contains a protocol name.
|
||||
</param>
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> is the HTTP Upgrade request
|
||||
to switch to the specified <paramref name="protocol" />.
|
||||
</summary>
|
||||
<returns>
|
||||
<c>true</c> if the specified <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> is the HTTP Upgrade request
|
||||
to switch to the specified <paramref name="protocol" />; otherwise, <c>false</c>.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<para>
|
||||
<paramref name="request" /> is <see langword="null" />.
|
||||
</para>
|
||||
<para>
|
||||
-or-
|
||||
</para>
|
||||
<para>
|
||||
<paramref name="protocol" /> is <see langword="null" />.
|
||||
</para>
|
||||
</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
<paramref name="protocol" /> is <see cref="F:System.String.Empty" />.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="IsValidAbsolutePath">
|
||||
<MemberSignature Language="C#" Value="public static bool IsValidAbsolutePath (this string absPath, out string message);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsValidAbsolutePath(string absPath, string message) cil managed" />
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<Overview>
|
||||
<Assemblies>
|
||||
<Assembly Name="websocket-sharp" Version="1.0.2.32056">
|
||||
<Assembly Name="websocket-sharp" Version="1.0.2.31269">
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 11 00 00 00 29 17 fb 89 fe c3 91 f7 2b cb 8b e2 61 d2 3f 05 93 6d 65 a8 9e 63 72 a6 f5 d5 2c f2 9d 20 fa 0b c0 70 6a f6 88 7e 8b 90 3f 39 f5 76 c8 48 e0 bb 7b b2 7b ed d3 10 a7 1a 0f 70 98 0f 7f f4 4b 53 09 d2 a5 ef 36 c3 56 b4 aa f0 91 72 63 25 07 89 e0 93 3e 3f 2e f2 b9 73 0e 12 15 5d 43 56 c3 f4 70 a5 89 fe f7 f6 ac 3e 77 c2 d8 d0 84 91 f4 0c d1 f3 8e dc c3 c3 b8 38 3d 0c bf 17 de 20 78 c1 ]</AssemblyPublicKey>
|
||||
<Attributes>
|
||||
<Attribute>
|
||||
@@ -67,9 +67,9 @@
|
||||
<Type Name="WebSocketContext" Kind="Class" />
|
||||
</Namespace>
|
||||
<Namespace Name="WebSocketSharp.Server">
|
||||
<Type Name="HttpRequestEventArgs" Kind="Class" />
|
||||
<Type Name="HttpServer" Kind="Class" />
|
||||
<Type Name="IServiceHost" Kind="Interface" />
|
||||
<Type Name="ResponseEventArgs" Kind="Class" />
|
||||
<Type Name="WebSocketServer" Kind="Class" />
|
||||
<Type Name="WebSocketServerBase" Kind="Class" />
|
||||
<Type Name="WebSocketService" Kind="Class" />
|
||||
@@ -650,6 +650,36 @@
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.IsPredefinedScheme(System.String)" />
|
||||
</Member>
|
||||
</ExtensionMethod>
|
||||
<ExtensionMethod>
|
||||
<Targets>
|
||||
<Target Type="T:WebSocketSharp.Net.HttpListenerRequest" />
|
||||
</Targets>
|
||||
<Member MemberName="IsUpgradeTo">
|
||||
<MemberSignature Language="C#" Value="public static bool IsUpgradeTo (this WebSocketSharp.Net.HttpListenerRequest request, string protocol);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsUpgradeTo(class WebSocketSharp.Net.HttpListenerRequest request, string protocol) cil managed" />
|
||||
<MemberType>ExtensionMethod</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Parameters>
|
||||
<Parameter Name="request" Type="WebSocketSharp.Net.HttpListenerRequest" RefType="this" />
|
||||
<Parameter Name="protocol" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="request">
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> that contains an HTTP request information.
|
||||
</param>
|
||||
<param name="protocol">
|
||||
A <see cref="T:System.String" /> that contains a protocol name.
|
||||
</param>
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:WebSocketSharp.Net.HttpListenerRequest" /> is the HTTP Upgrade request
|
||||
to switch to the specified <paramref name="protocol" />.
|
||||
</summary>
|
||||
</Docs>
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.IsUpgradeTo(WebSocketSharp.Net.HttpListenerRequest,System.String)" />
|
||||
</Member>
|
||||
</ExtensionMethod>
|
||||
<ExtensionMethod>
|
||||
<Targets>
|
||||
<Target Type="T:System.String" />
|
||||
|
@@ -101,7 +101,6 @@
|
||||
<Compile Include="Net\ResponseStream.cs" />
|
||||
<Compile Include="Net\WebHeaderCollection.cs" />
|
||||
<Compile Include="Server\HttpServer.cs" />
|
||||
<Compile Include="Server\ResponseEventArgs.cs" />
|
||||
<Compile Include="Net\HttpVersion.cs" />
|
||||
<Compile Include="Net\HttpStatusCode.cs" />
|
||||
<Compile Include="Server\WebSocketServerBase.cs" />
|
||||
@@ -120,6 +119,7 @@
|
||||
<Compile Include="Net\WebSockets\WebSocketContext.cs" />
|
||||
<Compile Include="Server\ServiceHostManager.cs" />
|
||||
<Compile Include="Server\WebSocketServiceManager.cs" />
|
||||
<Compile Include="Server\HttpRequestEventArgs.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user