Added some XML documentation comments and renamed some method names
This commit is contained in:
@@ -278,13 +278,13 @@ namespace WebSocketSharp {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the description of the HTTP status code using the specified code.
|
||||
/// Gets the description of the HTTP status code using the specified <see cref="WebSocketSharp.Net.HttpStatusCode"/>.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// A <see cref="string"/> that contains the description of the <paramref name="code"/>.
|
||||
/// A <see cref="string"/> that contains the description of the HTTP status code.
|
||||
/// </returns>
|
||||
/// <param name="code">
|
||||
/// One of <see cref="WebSocketSharp.Net.HttpStatusCode"/> values that contains the HTTP status code.
|
||||
/// One of <see cref="WebSocketSharp.Net.HttpStatusCode"/> values that contains an HTTP status code.
|
||||
/// </param>
|
||||
public static string GetDescription(this HttpStatusCode code)
|
||||
{
|
||||
@@ -339,13 +339,13 @@ namespace WebSocketSharp {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the description of the HTTP status code using the specified code.
|
||||
/// Gets the description of the HTTP status code using the specified <see cref="int"/>.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// A <see cref="string"/> that contains the description of the <paramref name="code"/>.
|
||||
/// A <see cref="string"/> that contains the description of the HTTP status code.
|
||||
/// </returns>
|
||||
/// <param name="code">
|
||||
/// An <see cref="int"/> that contains the HTTP status code.
|
||||
/// An <see cref="int"/> that contains an HTTP status code.
|
||||
/// </param>
|
||||
public static string GetStatusDescription(this int code)
|
||||
{
|
||||
|
@@ -33,53 +33,331 @@
|
||||
|
||||
namespace WebSocketSharp.Net {
|
||||
|
||||
/// <summary>
|
||||
/// Contains the values of the HTTP status codes.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The HttpStatusCode enumeration contains the values of the HTTP status codes defined in
|
||||
/// <see href="http://tools.ietf.org/html/rfc2616#section-10">RFC 2616</see> for HTTP 1.1.
|
||||
/// </remarks>
|
||||
public enum HttpStatusCode {
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 100. Indicates that the client should continue with its request.
|
||||
/// </summary>
|
||||
Continue = 100,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 101. Indicates that the server is switching the HTTP version or protocol on the connection.
|
||||
/// </summary>
|
||||
SwitchingProtocols = 101,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 200. Indicates that the client's request has succeeded.
|
||||
/// </summary>
|
||||
OK = 200,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 201. Indicates that the client's request has been fulfilled
|
||||
/// and resulted in a new resource being created.
|
||||
/// </summary>
|
||||
Created = 201,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 202. Indicates that the client's request has been accepted for processing,
|
||||
/// but the processing has not been completed.
|
||||
/// </summary>
|
||||
Accepted = 202,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 203. Indicates that the returned metainformation is from a local or a third-party copy instead of the origin server.
|
||||
/// </summary>
|
||||
NonAuthoritativeInformation = 203,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 204. Indicates that the server has fulfilled the client's request
|
||||
/// but does not need to return an entity-body.
|
||||
/// </summary>
|
||||
NoContent = 204,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 205. Indicates that the server has fulfilled the client's request
|
||||
/// and the user agent should reset the document view which caused the request to be sent.
|
||||
/// </summary>
|
||||
ResetContent = 205,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 206. Indicates that the server has fulfilled the partial GET request for the resource.
|
||||
/// </summary>
|
||||
PartialContent = 206,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Equivalent to status code 300. Indicates that the requested resource corresponds to
|
||||
/// any one of multiple representations.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// MultipleChoices is a synonym for Ambiguous.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
MultipleChoices = 300,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Equivalent to status code 300. Indicates that the requested resource corresponds to
|
||||
/// any one of multiple representations.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Ambiguous is a synonym for MultipleChoices.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Ambiguous = 300,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Equivalent to status code 301. Indicates that the requested resource has been assigned a new permanent URI
|
||||
/// and any future references to this resource should use one of the returned URIs.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// MovedPermanently is a synonym for Moved.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
MovedPermanently = 301,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Equivalent to status code 301. Indicates that the requested resource has been assigned a new permanent URI
|
||||
/// and any future references to this resource should use one of the returned URIs.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Moved is a synonym for MovedPermanently.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Moved = 301,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Equivalent to status code 302. Indicates that the requested resource is located temporarily
|
||||
/// under a different URI.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Found is a synonym for Redirect.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Found = 302,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Equivalent to status code 302. Indicates that the requested resource is located temporarily
|
||||
/// under a different URI.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Redirect is a synonym for Found.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Redirect = 302,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Equivalent to status code 303. Indicates that the response to the request can be found
|
||||
/// under a different URI and should be retrieved using a GET method on that resource.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// SeeOther is a synonym for RedirectMethod.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SeeOther = 303,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Equivalent to status code 303. Indicates that the response to the request can be found
|
||||
/// under a different URI and should be retrieved using a GET method on that resource.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// RedirectMethod is a synonym for SeeOther.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
RedirectMethod = 303,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 304. Indicates that the client has performed a conditional GET request
|
||||
/// and access is allowed, but the document has not been modified.
|
||||
/// </summary>
|
||||
NotModified = 304,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 305. Indicates that the requested resource must be accessed
|
||||
/// through the proxy given by the Location field.
|
||||
/// </summary>
|
||||
UseProxy = 305,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 306. This code was used in a previous version of the specification,
|
||||
/// is no longer used, and is reserved for future use.
|
||||
/// </summary>
|
||||
Unused = 306,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Equivalent to status code 307. Indicates that the requested resource is located temporarily
|
||||
/// under a different URI.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// TemporaryRedirect is a synonym for RedirectKeepVerb.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
TemporaryRedirect = 307,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Equivalent to status code 307. Indicates that the requested resource is located temporarily
|
||||
/// under a different URI.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// RedirectKeepVerb is a synonym for TemporaryRedirect.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
RedirectKeepVerb = 307,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 400. Indicates that the client's request could not be understood
|
||||
/// by the server due to malformed syntax.
|
||||
/// </summary>
|
||||
BadRequest = 400,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 401. Indicates that the client's request requires user authentication.
|
||||
/// </summary>
|
||||
Unauthorized = 401,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 402. This code is reserved for future use.
|
||||
/// </summary>
|
||||
PaymentRequired = 402,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 403. Indicates that the server understood the client's request
|
||||
/// but is refusing to fulfill it.
|
||||
/// </summary>
|
||||
Forbidden = 403,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 404. Indicates that the server has not found anything
|
||||
/// matching the request URI.
|
||||
/// </summary>
|
||||
NotFound = 404,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 405. Indicates that the method specified in the request line
|
||||
/// is not allowed for the resource identified by the request URI.
|
||||
/// </summary>
|
||||
MethodNotAllowed = 405,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 406. Indicates that the server does not have the appropriate resource
|
||||
/// to respond to the accept headers in the client's request.
|
||||
/// </summary>
|
||||
NotAcceptable = 406,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 407. Indicates that the client must first authenticate itself with the proxy.
|
||||
/// </summary>
|
||||
ProxyAuthenticationRequired = 407,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 408. Indicates that the client did not produce a request
|
||||
/// within the time that the server was prepared to wait.
|
||||
/// </summary>
|
||||
RequestTimeout = 408,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 409. Indicates that the client's request could not be completed
|
||||
/// due to a conflict on the server.
|
||||
/// </summary>
|
||||
Conflict = 409,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 410. Indicates that the requested resource is no longer available
|
||||
/// at the server and no forwarding address is known.
|
||||
/// </summary>
|
||||
Gone = 410,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 411. Indicates that the server refuses to accept the client's request
|
||||
/// without a defined Content-Length.
|
||||
/// </summary>
|
||||
LengthRequired = 411,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 412. Indicates that the precondition given in one or more of the request header fields
|
||||
/// evaluated to false when it was tested on the server.
|
||||
/// </summary>
|
||||
PreconditionFailed = 412,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 413. Indicates that the client's request entity is larger
|
||||
/// than the server is willing or able to process.
|
||||
/// </summary>
|
||||
RequestEntityTooLarge = 413,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 414. Indicates that the request URI is longer
|
||||
/// than the server is willing to interpret.
|
||||
/// </summary>
|
||||
RequestUriTooLong = 414,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 415. Indicates that the entity of the client's request is in a format
|
||||
/// not supported by the requested resource for the requested method.
|
||||
/// </summary>
|
||||
UnsupportedMediaType = 415,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 416. Indicates that none of the range specifier values in a Range request header field
|
||||
/// overlap the current extent of the selected resource.
|
||||
/// </summary>
|
||||
RequestedRangeNotSatisfiable = 416,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 417. Indicates that the expectation given in an Expect request header field
|
||||
/// could not be met by the server.
|
||||
/// </summary>
|
||||
ExpectationFailed = 417,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 500. Indicates that the server encountered an unexpected condition
|
||||
/// which prevented it from fulfilling the client's request.
|
||||
/// </summary>
|
||||
InternalServerError = 500,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 501. Indicates that the server does not support the functionality
|
||||
/// required to fulfill the client's request.
|
||||
/// </summary>
|
||||
NotImplemented = 501,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 502. Indicates that a gateway or proxy server received an invalid response
|
||||
/// from the upstream server.
|
||||
/// </summary>
|
||||
BadGateway = 502,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 503. Indicates that the server is currently unable to handle the client's request
|
||||
/// due to a temporary overloading or maintenance of the server.
|
||||
/// </summary>
|
||||
ServiceUnavailable = 503,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 504. Indicates that a gateway or proxy server did not receive a timely response
|
||||
/// from the upstream server or some other auxiliary server.
|
||||
/// </summary>
|
||||
GatewayTimeout = 504,
|
||||
|
||||
/// <summary>
|
||||
/// Equivalent to status code 505. Indicates that the server does not support the HTTP version
|
||||
/// used in the client's request.
|
||||
/// </summary>
|
||||
HttpVersionNotSupported = 505,
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// HttpVersion.cs
|
||||
// Copied from System.Net.HttpVersion
|
||||
// Copied from System.Net.HttpVersion.cs
|
||||
//
|
||||
// Author:
|
||||
// Lawrence Pit (loz@cable.a2000.nl)
|
||||
@@ -29,14 +29,24 @@ using System;
|
||||
|
||||
namespace WebSocketSharp.Net {
|
||||
|
||||
// <remarks>
|
||||
// </remarks>
|
||||
/// <summary>
|
||||
/// Provides the HTTP version numbers.
|
||||
/// </summary>
|
||||
public class HttpVersion {
|
||||
|
||||
/// <summary>
|
||||
/// Provides a <see cref="Version"/> instance for HTTP 1.0.
|
||||
/// </summary>
|
||||
public static readonly Version Version10 = new Version (1, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Provides a <see cref="Version"/> instance for HTTP 1.1.
|
||||
/// </summary>
|
||||
public static readonly Version Version11 = new Version (1, 1);
|
||||
|
||||
// pretty useless..
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="HttpVersion"/> class.
|
||||
/// </summary>
|
||||
public HttpVersion () {}
|
||||
}
|
||||
}
|
||||
|
@@ -36,14 +36,35 @@ using WebSocketSharp.Net;
|
||||
|
||||
namespace WebSocketSharp.Server {
|
||||
|
||||
/// <summary>
|
||||
/// Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The HttpServer class provides the multi WebSocket service.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// <para>
|
||||
/// The HttpServer class needs the application configuration file to configure the server root path.
|
||||
/// </para>
|
||||
/// <code lang="xml">
|
||||
/// <?xml version="1.0" encoding="utf-8"?>
|
||||
/// <configuration>
|
||||
/// <appSettings>
|
||||
/// <add key="RootPath" value="./Public" />
|
||||
/// </appSettings>
|
||||
/// </configuration>
|
||||
/// </code>
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public class HttpServer {
|
||||
|
||||
#region Fields
|
||||
|
||||
private Thread _acceptRequestThread;
|
||||
private bool _isWindows;
|
||||
private HttpListener _listener;
|
||||
private int _port;
|
||||
private Thread _receiveRequestThread;
|
||||
private string _rootPath;
|
||||
private ServiceHostManager _svcHosts;
|
||||
|
||||
@@ -51,11 +72,22 @@ namespace WebSocketSharp.Server {
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="HttpServer"/> class that listens for incoming requests
|
||||
/// on port 80.
|
||||
/// </summary>
|
||||
public HttpServer()
|
||||
: this(80)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="HttpServer"/> class that listens for incoming requests
|
||||
/// on the specified <paramref name="port"/>.
|
||||
/// </summary>
|
||||
/// <param name="port">
|
||||
/// An <see cref="int"/> that contains a port number.
|
||||
/// </param>
|
||||
public HttpServer(int port)
|
||||
{
|
||||
_port = port;
|
||||
@@ -66,16 +98,35 @@ namespace WebSocketSharp.Server {
|
||||
|
||||
#region Properties
|
||||
|
||||
/// <summary>
|
||||
/// Gets the port on which to listen for incoming requests.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// An <see cref="int"/> that contains a port number.
|
||||
/// </value>
|
||||
public int Port {
|
||||
get { return _port; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the collection of paths associated with the every WebSocket services that the server provides.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// An IEnumerable<string> that contains the collection of paths.
|
||||
/// </value>
|
||||
public IEnumerable<string> ServicePaths {
|
||||
get {
|
||||
return _svcHosts.Paths;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// <c>true</c> if the server cleans up the inactive WebSocket service instances every 60 seconds;
|
||||
/// otherwise, <c>false</c>. The default value is <c>true</c>.
|
||||
/// </value>
|
||||
public bool Sweeped {
|
||||
get {
|
||||
return _svcHosts.Sweeped;
|
||||
@@ -90,43 +141,60 @@ namespace WebSocketSharp.Server {
|
||||
|
||||
#region Events
|
||||
|
||||
public event EventHandler<ResponseEventArgs> OnConnect;
|
||||
public event EventHandler<ResponseEventArgs> OnDelete;
|
||||
public event EventHandler<ErrorEventArgs> OnError;
|
||||
public event EventHandler<ResponseEventArgs> OnGet;
|
||||
public event EventHandler<ResponseEventArgs> OnHead;
|
||||
public event EventHandler<ResponseEventArgs> OnOptions;
|
||||
public event EventHandler<ResponseEventArgs> OnPatch;
|
||||
public event EventHandler<ResponseEventArgs> OnPost;
|
||||
public event EventHandler<ResponseEventArgs> OnPut;
|
||||
public event EventHandler<ResponseEventArgs> OnTrace;
|
||||
/// <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;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP HEAD request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToHead;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP OPTIONS request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToOptions;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP PATCH request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToPatch;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP POST request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToPost;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP PUT request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToPut;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when the server receives an HTTP TRACE request.
|
||||
/// </summary>
|
||||
public event EventHandler<ResponseEventArgs> OnResponseToTrace;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void acceptRequest()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
var context = _listener.GetContext();
|
||||
respondAsync(context);
|
||||
}
|
||||
catch (HttpListenerException)
|
||||
{
|
||||
// HttpListener has been closed.
|
||||
break;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
onError(ex.Message);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void configureFromConfigFile()
|
||||
{
|
||||
_rootPath = ConfigurationManager.AppSettings["RootPath"];
|
||||
@@ -170,63 +238,85 @@ namespace WebSocketSharp.Server {
|
||||
OnError.Emit(this, new ErrorEventArgs(message));
|
||||
}
|
||||
|
||||
private void receiveRequest()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
var context = _listener.GetContext();
|
||||
respondAsync(context);
|
||||
}
|
||||
catch (HttpListenerException)
|
||||
{
|
||||
// HttpListener has been closed.
|
||||
break;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
onError(ex.Message);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void respond(HttpListenerContext context)
|
||||
{
|
||||
var req = context.Request;
|
||||
var res = context.Response;
|
||||
var eventArgs = new ResponseEventArgs(context);
|
||||
|
||||
if (req.HttpMethod == "GET" && OnGet != null)
|
||||
if (req.HttpMethod == "GET" && !OnResponseToGet.IsNull())
|
||||
{
|
||||
OnGet(this, eventArgs);
|
||||
OnResponseToGet(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "HEAD" && OnHead != null)
|
||||
if (req.HttpMethod == "HEAD" && !OnResponseToHead.IsNull())
|
||||
{
|
||||
OnHead(this, eventArgs);
|
||||
OnResponseToHead(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "POST" && OnPost != null)
|
||||
if (req.HttpMethod == "POST" && !OnResponseToPost.IsNull())
|
||||
{
|
||||
OnPost(this, eventArgs);
|
||||
OnResponseToPost(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "PUT" && OnPut != null)
|
||||
if (req.HttpMethod == "PUT" && !OnResponseToPut.IsNull())
|
||||
{
|
||||
OnPut(this, eventArgs);
|
||||
OnResponseToPut(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "DELETE" && OnDelete != null)
|
||||
if (req.HttpMethod == "DELETE" && !OnResponseToDelete.IsNull())
|
||||
{
|
||||
OnDelete(this, eventArgs);
|
||||
OnResponseToDelete(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "OPTIONS" && OnOptions != null)
|
||||
if (req.HttpMethod == "OPTIONS" && !OnResponseToOptions.IsNull())
|
||||
{
|
||||
OnOptions(this, eventArgs);
|
||||
OnResponseToOptions(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "TRACE" && OnTrace != null)
|
||||
if (req.HttpMethod == "TRACE" && !OnResponseToTrace.IsNull())
|
||||
{
|
||||
OnTrace(this, eventArgs);
|
||||
OnResponseToTrace(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "CONNECT" && OnConnect != null)
|
||||
if (req.HttpMethod == "CONNECT" && !OnResponseToConnect.IsNull())
|
||||
{
|
||||
OnConnect(this, eventArgs);
|
||||
OnResponseToConnect(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.HttpMethod == "PATCH" && OnPatch != null)
|
||||
if (req.HttpMethod == "PATCH" && !OnResponseToPatch.IsNull())
|
||||
{
|
||||
OnPatch(this, eventArgs);
|
||||
OnResponseToPatch(this, eventArgs);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -235,7 +325,7 @@ namespace WebSocketSharp.Server {
|
||||
|
||||
private void respondAsync(HttpListenerContext context)
|
||||
{
|
||||
WaitCallback respondCb = (state) =>
|
||||
WaitCallback callback = (state) =>
|
||||
{
|
||||
var req = context.Request;
|
||||
var res = context.Response;
|
||||
@@ -260,14 +350,14 @@ namespace WebSocketSharp.Server {
|
||||
}
|
||||
};
|
||||
|
||||
ThreadPool.QueueUserWorkItem(respondCb);
|
||||
ThreadPool.QueueUserWorkItem(callback);
|
||||
}
|
||||
|
||||
private void startAcceptRequestThread()
|
||||
private void startReceiveRequestThread()
|
||||
{
|
||||
_acceptRequestThread = new Thread(new ThreadStart(acceptRequest));
|
||||
_acceptRequestThread.IsBackground = true;
|
||||
_acceptRequestThread.Start();
|
||||
_receiveRequestThread = new Thread(new ThreadStart(receiveRequest));
|
||||
_receiveRequestThread.IsBackground = true;
|
||||
_receiveRequestThread.Start();
|
||||
}
|
||||
|
||||
private bool upgradeToWebSocket(HttpListenerContext context)
|
||||
@@ -292,7 +382,16 @@ namespace WebSocketSharp.Server {
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public void AddService<T>(string absPath)
|
||||
/// <summary>
|
||||
/// Adds the specified type WebSocket service.
|
||||
/// </summary>
|
||||
/// <param name="absPath">
|
||||
/// A <see cref="string"/> that contains an absolute path associated with the WebSocket service.
|
||||
/// </param>
|
||||
/// <typeparam name="T">
|
||||
/// The type of the WebSocket service. The T must inherit the <see cref="WebSocketService"/> class.
|
||||
/// </typeparam>
|
||||
public void AddWebSocketService<T>(string absPath)
|
||||
where T : WebSocketService, new()
|
||||
{
|
||||
string msg;
|
||||
@@ -310,28 +409,42 @@ namespace WebSocketSharp.Server {
|
||||
_svcHosts.Add(absPath, svcHost);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the contents of the specified file.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// An array of <see cref="byte"/> that contains the contents of the file.
|
||||
/// </returns>
|
||||
/// <param name="path">
|
||||
/// A <see cref="string"/> that contains a virtual path to the file to get.
|
||||
/// </param>
|
||||
public byte[] GetFile(string path)
|
||||
{
|
||||
var filePath = _rootPath + path;
|
||||
if (_isWindows)
|
||||
filePath = filePath.Replace("/", "\\");
|
||||
|
||||
if (File.Exists(filePath))
|
||||
return File.ReadAllBytes(filePath);
|
||||
|
||||
return null;
|
||||
return File.Exists(filePath)
|
||||
? File.ReadAllBytes(filePath)
|
||||
: null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Starts to receive incoming requests.
|
||||
/// </summary>
|
||||
public void Start()
|
||||
{
|
||||
_listener.Start();
|
||||
startAcceptRequestThread();
|
||||
startReceiveRequestThread();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Stops receiving incoming requests.
|
||||
/// </summary>
|
||||
public void Stop()
|
||||
{
|
||||
_listener.Close();
|
||||
_acceptRequestThread.Join(5 * 1000);
|
||||
_receiveRequestThread.Join(5 * 1000);
|
||||
_svcHosts.Stop();
|
||||
}
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* The MIT License
|
||||
*
|
||||
* Copyright (c) 2012 sta.blockhead
|
||||
* Copyright (c) 2012-2013 sta.blockhead
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -31,15 +31,44 @@ using WebSocketSharp.Net;
|
||||
|
||||
namespace WebSocketSharp.Server {
|
||||
|
||||
/// <summary>
|
||||
/// Contains the event data associated with the response events of the <see cref="HttpServer"/> class.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// A response 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 HttpListenerRequest Request { get; private set; }
|
||||
public HttpListenerResponse Response { get; private set; }
|
||||
#region Constructor
|
||||
|
||||
public ResponseEventArgs(HttpListenerContext context)
|
||||
internal ResponseEventArgs(HttpListenerContext context)
|
||||
{
|
||||
Request = context.Request;
|
||||
Response = context.Response;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
|
||||
/// <summary>
|
||||
/// Gets the HTTP request objects sent from a client.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// A <see cref="HttpListenerRequest"/> that contains the HTTP request objects.
|
||||
/// </value>
|
||||
public HttpListenerRequest Request { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the HTTP response objects to send to the client in response to the client's request.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// A <see cref="HttpListenerResponse"/> that contains the HTTP response objects.
|
||||
/// </value>
|
||||
public HttpListenerResponse Response { get; private set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
@@ -165,6 +165,7 @@ namespace WebSocketSharp.Server {
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// <c>true</c> if the server cleans up the inactive clients every 60 seconds; otherwise, <c>false</c>.
|
||||
/// The default value is <c>true</c>.
|
||||
/// </value>
|
||||
public bool Sweeped {
|
||||
get {
|
||||
@@ -218,7 +219,7 @@ namespace WebSocketSharp.Server {
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Adds a WebSocket service.
|
||||
/// Adds the specified type WebSocket service.
|
||||
/// </summary>
|
||||
/// <param name="absPath">
|
||||
/// A <see cref="string"/> that contains an absolute path associated with the WebSocket service.
|
||||
@@ -226,7 +227,7 @@ namespace WebSocketSharp.Server {
|
||||
/// <typeparam name="T">
|
||||
/// The type of the WebSocket service. The T must inherit the <see cref="WebSocketService"/> class.
|
||||
/// </typeparam>
|
||||
public void AddService<T>(string absPath)
|
||||
public void AddWebSocketService<T>(string absPath)
|
||||
where T : WebSocketService, new()
|
||||
{
|
||||
string msg;
|
||||
|
@@ -229,7 +229,7 @@ namespace WebSocketSharp.Server {
|
||||
#region Event
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when this server gets an error.
|
||||
/// Occurs when the server gets an error.
|
||||
/// </summary>
|
||||
public event EventHandler<ErrorEventArgs> OnError;
|
||||
|
||||
|
@@ -187,6 +187,7 @@ namespace WebSocketSharp.Server {
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// <c>true</c> if the server cleans up the inactive clients every 60 seconds; otherwise, <c>false</c>.
|
||||
/// The default value is <c>true</c>.
|
||||
/// </value>
|
||||
public bool Sweeped {
|
||||
get {
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -139,13 +139,13 @@
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.GetDescription(WebSocketSharp.Net.HttpStatusCode)">
|
||||
<summary>
|
||||
Gets the description of the HTTP status code using the specified code.
|
||||
Gets the description of the HTTP status code using the specified <see cref="T:WebSocketSharp.Net.HttpStatusCode" />.
|
||||
</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.String" /> that contains the description of the <paramref name="code" />.
|
||||
A <see cref="T:System.String" /> that contains the description of the HTTP status code.
|
||||
</returns>
|
||||
<param name="code">
|
||||
One of <see cref="T:WebSocketSharp.Net.HttpStatusCode" /> values that contains the HTTP status code.
|
||||
One of <see cref="T:WebSocketSharp.Net.HttpStatusCode" /> values that contains an HTTP status code.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.GetName(System.String,System.String)">
|
||||
@@ -178,13 +178,13 @@
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.GetStatusDescription(System.Int32)">
|
||||
<summary>
|
||||
Gets the description of the HTTP status code using the specified code.
|
||||
Gets the description of the HTTP status code using the specified <see cref="T:System.Int32" />.
|
||||
</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.String" /> that contains the description of the <paramref name="code" />.
|
||||
A <see cref="T:System.String" /> that contains the description of the HTTP status code.
|
||||
</returns>
|
||||
<param name="code">
|
||||
An <see cref="T:System.Int32" /> that contains the HTTP status code.
|
||||
An <see cref="T:System.Int32" /> that contains an HTTP status code.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Ext.GetValue(System.String,System.String)">
|
||||
@@ -1096,6 +1096,7 @@
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if the server cleans up the inactive clients every 60 seconds; otherwise, <c>false</c>.
|
||||
The default value is <c>true</c>.
|
||||
</value>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Server.WebSocketServer.AcceptWebSocket(WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext)">
|
||||
@@ -1106,9 +1107,9 @@
|
||||
A <see cref="T:WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext" /> that contains the WebSocket connection request objects.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Server.WebSocketServer.AddService``1(System.String)">
|
||||
<member name="M:WebSocketSharp.Server.WebSocketServer.AddWebSocketService``1(System.String)">
|
||||
<summary>
|
||||
Adds a WebSocket service.
|
||||
Adds the specified type WebSocket service.
|
||||
</summary>
|
||||
<param name="absPath">
|
||||
A <see cref="T:System.String" /> that contains an absolute path associated with the WebSocket service.
|
||||
@@ -1391,6 +1392,524 @@
|
||||
<param name="s">The string to encode.</param>
|
||||
<param name="output">The TextWriter output stream containing the encoded string.</param>
|
||||
</member>
|
||||
<member name="T:WebSocketSharp.Server.HttpServer">
|
||||
<summary>
|
||||
Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The HttpServer class provides the multi WebSocket service.
|
||||
</para>
|
||||
<para>
|
||||
<para>
|
||||
The HttpServer class needs the application configuration file to configure the server root path.
|
||||
</para>
|
||||
<code lang="xml">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="RootPath" value="./Public" />
|
||||
</appSettings>
|
||||
</configuration>
|
||||
</code>
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Server.HttpServer.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:WebSocketSharp.Server.HttpServer" /> class that listens for incoming requests
|
||||
on port 80.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Server.HttpServer.#ctor(System.Int32)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:WebSocketSharp.Server.HttpServer" /> class that listens for incoming requests
|
||||
on the specified <paramref name="port" />.
|
||||
</summary>
|
||||
<param name="port">
|
||||
An <see cref="T:System.Int32" /> that contains a port number.
|
||||
</param>
|
||||
</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">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP GET request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToHead">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP HEAD request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToOptions">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP OPTIONS request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToPatch">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP PATCH request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToPost">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP POST request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToPut">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP PUT request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.HttpServer.OnResponseToTrace">
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP TRACE request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Server.HttpServer.Port">
|
||||
<summary>
|
||||
Gets the port on which to listen for incoming requests.
|
||||
</summary>
|
||||
<value>
|
||||
An <see cref="T:System.Int32" /> that contains a port number.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Server.HttpServer.ServicePaths">
|
||||
<summary>
|
||||
Gets the collection of paths associated with the every WebSocket services that the server provides.
|
||||
</summary>
|
||||
<value>
|
||||
An IEnumerable<string> that contains the collection of paths.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Server.HttpServer.Sweeped">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically.
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if the server cleans up the inactive WebSocket service instances every 60 seconds;
|
||||
otherwise, <c>false</c>. The default value is <c>true</c>.
|
||||
</value>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Server.HttpServer.AddWebSocketService``1(System.String)">
|
||||
<summary>
|
||||
Adds the specified type WebSocket service.
|
||||
</summary>
|
||||
<param name="absPath">
|
||||
A <see cref="T:System.String" /> that contains an absolute path associated with the WebSocket service.
|
||||
</param>
|
||||
<typeparam name="T">
|
||||
The type of the WebSocket service. The T must inherit the <see cref="T:WebSocketSharp.Server.WebSocketService" /> class.
|
||||
</typeparam>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Server.HttpServer.GetFile(System.String)">
|
||||
<summary>
|
||||
Gets the contents of the specified file.
|
||||
</summary>
|
||||
<returns>
|
||||
An array of <see cref="T:System.Byte" /> that contains the contents of the file.
|
||||
</returns>
|
||||
<param name="path">
|
||||
A <see cref="T:System.String" /> that contains a virtual path to the file to get.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Server.HttpServer.Start">
|
||||
<summary>
|
||||
Starts to receive incoming requests.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Server.HttpServer.Stop">
|
||||
<summary>
|
||||
Stops receiving incoming requests.
|
||||
</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.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Net.HttpVersion.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.HttpVersion" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpVersion.Version10">
|
||||
<summary>
|
||||
Provides a <see cref="T:System.Version" /> instance for HTTP 1.0.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpVersion.Version11">
|
||||
<summary>
|
||||
Provides a <see cref="T:System.Version" /> instance for HTTP 1.1.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:WebSocketSharp.Net.HttpStatusCode">
|
||||
<summary>
|
||||
Contains the values of the HTTP status codes.
|
||||
</summary>
|
||||
<remarks>
|
||||
The HttpStatusCode enumeration contains the values of the HTTP status codes defined in
|
||||
<see href="http://tools.ietf.org/html/rfc2616#section-10">RFC 2616</see> for HTTP 1.1.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Continue">
|
||||
<summary>
|
||||
Equivalent to status code 100. Indicates that the client should continue with its request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.SwitchingProtocols">
|
||||
<summary>
|
||||
Equivalent to status code 101. Indicates that the server is switching the HTTP version or protocol on the connection.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.OK">
|
||||
<summary>
|
||||
Equivalent to status code 200. Indicates that the client's request has succeeded.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Created">
|
||||
<summary>
|
||||
Equivalent to status code 201. Indicates that the client's request has been fulfilled
|
||||
and resulted in a new resource being created.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Accepted">
|
||||
<summary>
|
||||
Equivalent to status code 202. Indicates that the client's request has been accepted for processing,
|
||||
but the processing has not been completed.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.NonAuthoritativeInformation">
|
||||
<summary>
|
||||
Equivalent to status code 203. Indicates that the returned metainformation is from a local or a third-party copy instead of the origin server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.NoContent">
|
||||
<summary>
|
||||
Equivalent to status code 204. Indicates that the server has fulfilled the client's request
|
||||
but does not need to return an entity-body.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.ResetContent">
|
||||
<summary>
|
||||
Equivalent to status code 205. Indicates that the server has fulfilled the client's request
|
||||
and the user agent should reset the document view which caused the request to be sent.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.PartialContent">
|
||||
<summary>
|
||||
Equivalent to status code 206. Indicates that the server has fulfilled the partial GET request for the resource.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.MultipleChoices">
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 300. Indicates that the requested resource corresponds to
|
||||
any one of multiple representations.
|
||||
</para>
|
||||
<para>
|
||||
MultipleChoices is a synonym for Ambiguous.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Ambiguous">
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 300. Indicates that the requested resource corresponds to
|
||||
any one of multiple representations.
|
||||
</para>
|
||||
<para>
|
||||
Ambiguous is a synonym for MultipleChoices.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.MovedPermanently">
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 301. Indicates that the requested resource has been assigned a new permanent URI
|
||||
and any future references to this resource should use one of the returned URIs.
|
||||
</para>
|
||||
<para>
|
||||
MovedPermanently is a synonym for Moved.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Moved">
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 301. Indicates that the requested resource has been assigned a new permanent URI
|
||||
and any future references to this resource should use one of the returned URIs.
|
||||
</para>
|
||||
<para>
|
||||
Moved is a synonym for MovedPermanently.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Found">
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 302. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</para>
|
||||
<para>
|
||||
Found is a synonym for Redirect.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Redirect">
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 302. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</para>
|
||||
<para>
|
||||
Redirect is a synonym for Found.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.SeeOther">
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 303. Indicates that the response to the request can be found
|
||||
under a different URI and should be retrieved using a GET method on that resource.
|
||||
</para>
|
||||
<para>
|
||||
SeeOther is a synonym for RedirectMethod.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.RedirectMethod">
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 303. Indicates that the response to the request can be found
|
||||
under a different URI and should be retrieved using a GET method on that resource.
|
||||
</para>
|
||||
<para>
|
||||
RedirectMethod is a synonym for SeeOther.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.NotModified">
|
||||
<summary>
|
||||
Equivalent to status code 304. Indicates that the client has performed a conditional GET request
|
||||
and access is allowed, but the document has not been modified.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.UseProxy">
|
||||
<summary>
|
||||
Equivalent to status code 305. Indicates that the requested resource must be accessed
|
||||
through the proxy given by the Location field.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Unused">
|
||||
<summary>
|
||||
Equivalent to status code 306. This code was used in a previous version of the specification,
|
||||
is no longer used, and is reserved for future use.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.TemporaryRedirect">
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 307. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</para>
|
||||
<para>
|
||||
TemporaryRedirect is a synonym for RedirectKeepVerb.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.RedirectKeepVerb">
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 307. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</para>
|
||||
<para>
|
||||
RedirectKeepVerb is a synonym for TemporaryRedirect.
|
||||
</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.BadRequest">
|
||||
<summary>
|
||||
Equivalent to status code 400. Indicates that the client's request could not be understood
|
||||
by the server due to malformed syntax.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Unauthorized">
|
||||
<summary>
|
||||
Equivalent to status code 401. Indicates that the client's request requires user authentication.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.PaymentRequired">
|
||||
<summary>
|
||||
Equivalent to status code 402. This code is reserved for future use.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Forbidden">
|
||||
<summary>
|
||||
Equivalent to status code 403. Indicates that the server understood the client's request
|
||||
but is refusing to fulfill it.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.NotFound">
|
||||
<summary>
|
||||
Equivalent to status code 404. Indicates that the server has not found anything
|
||||
matching the request URI.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.MethodNotAllowed">
|
||||
<summary>
|
||||
Equivalent to status code 405. Indicates that the method specified in the request line
|
||||
is not allowed for the resource identified by the request URI.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.NotAcceptable">
|
||||
<summary>
|
||||
Equivalent to status code 406. Indicates that the server does not have the appropriate resource
|
||||
to respond to the accept headers in the client's request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.ProxyAuthenticationRequired">
|
||||
<summary>
|
||||
Equivalent to status code 407. Indicates that the client must first authenticate itself with the proxy.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.RequestTimeout">
|
||||
<summary>
|
||||
Equivalent to status code 408. Indicates that the client did not produce a request
|
||||
within the time that the server was prepared to wait.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Conflict">
|
||||
<summary>
|
||||
Equivalent to status code 409. Indicates that the client's request could not be completed
|
||||
due to a conflict on the server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.Gone">
|
||||
<summary>
|
||||
Equivalent to status code 410. Indicates that the requested resource is no longer available
|
||||
at the server and no forwarding address is known.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.LengthRequired">
|
||||
<summary>
|
||||
Equivalent to status code 411. Indicates that the server refuses to accept the client's request
|
||||
without a defined Content-Length.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.PreconditionFailed">
|
||||
<summary>
|
||||
Equivalent to status code 412. Indicates that the precondition given in one or more of the request header fields
|
||||
evaluated to false when it was tested on the server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.RequestEntityTooLarge">
|
||||
<summary>
|
||||
Equivalent to status code 413. Indicates that the client's request entity is larger
|
||||
than the server is willing or able to process.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.RequestUriTooLong">
|
||||
<summary>
|
||||
Equivalent to status code 414. Indicates that the request URI is longer
|
||||
than the server is willing to interpret.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.UnsupportedMediaType">
|
||||
<summary>
|
||||
Equivalent to status code 415. Indicates that the entity of the client's request is in a format
|
||||
not supported by the requested resource for the requested method.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.RequestedRangeNotSatisfiable">
|
||||
<summary>
|
||||
Equivalent to status code 416. Indicates that none of the range specifier values in a Range request header field
|
||||
overlap the current extent of the selected resource.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.ExpectationFailed">
|
||||
<summary>
|
||||
Equivalent to status code 417. Indicates that the expectation given in an Expect request header field
|
||||
could not be met by the server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.InternalServerError">
|
||||
<summary>
|
||||
Equivalent to status code 500. Indicates that the server encountered an unexpected condition
|
||||
which prevented it from fulfilling the client's request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.NotImplemented">
|
||||
<summary>
|
||||
Equivalent to status code 501. Indicates that the server does not support the functionality
|
||||
required to fulfill the client's request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.BadGateway">
|
||||
<summary>
|
||||
Equivalent to status code 502. Indicates that a gateway or proxy server received an invalid response
|
||||
from the upstream server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.ServiceUnavailable">
|
||||
<summary>
|
||||
Equivalent to status code 503. Indicates that the server is currently unable to handle the client's request
|
||||
due to a temporary overloading or maintenance of the server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.GatewayTimeout">
|
||||
<summary>
|
||||
Equivalent to status code 504. Indicates that a gateway or proxy server did not receive a timely response
|
||||
from the upstream server or some other auxiliary server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:WebSocketSharp.Net.HttpStatusCode.HttpVersionNotSupported">
|
||||
<summary>
|
||||
Equivalent to status code 505. Indicates that the server does not support the HTTP version
|
||||
used in the client's request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:WebSocketSharp.Server.WebSocketServerBase">
|
||||
<summary>
|
||||
Provides the basic functions of the server that receives the WebSocket connection requests.
|
||||
@@ -1453,7 +1972,7 @@
|
||||
</member>
|
||||
<member name="E:WebSocketSharp.Server.WebSocketServerBase.OnError">
|
||||
<summary>
|
||||
Occurs when this server gets an error.
|
||||
Occurs when the server gets an error.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Server.WebSocketServerBase.BaseUri">
|
||||
@@ -1670,6 +2189,7 @@
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if the server cleans up the inactive clients every 60 seconds; otherwise, <c>false</c>.
|
||||
The default value is <c>true</c>.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Server.WebSocketServiceHost`1.Uri">
|
||||
|
@@ -207,8 +207,8 @@
|
||||
</div>
|
||||
<h1 class="PageTitle" id="T:WebSocketSharp.Net.HttpStatusCode">HttpStatusCode Enum</h1>
|
||||
<p class="Summary" id="T:WebSocketSharp.Net.HttpStatusCode:Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Contains the values of the HTTP status codes.
|
||||
</p>
|
||||
<div id="T:WebSocketSharp.Net.HttpStatusCode:Signature">
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public enum <b>HttpStatusCode</b></div>
|
||||
@@ -216,8 +216,9 @@
|
||||
<div class="Remarks" id="T:WebSocketSharp.Net.HttpStatusCode:Docs">
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.Net.HttpStatusCode:Docs:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
The HttpStatusCode enumeration contains the values of the HTTP status codes defined in
|
||||
RFC 2616 for HTTP 1.1.
|
||||
</div>
|
||||
<h2 class="Section">Members</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.Net.HttpStatusCode:Docs:Members">
|
||||
<table class="Enumeration">
|
||||
@@ -230,7 +231,8 @@
|
||||
<b>Accepted</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 202. Indicates that the client's request has been accepted for processing,
|
||||
but the processing has not been completed.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -238,7 +240,13 @@
|
||||
<b>Ambiguous</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
Equivalent to status code 300. Indicates that the requested resource corresponds to
|
||||
any one of multiple representations.
|
||||
</p>
|
||||
<p>
|
||||
Ambiguous is a synonym for MultipleChoices.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -246,7 +254,8 @@
|
||||
<b>BadGateway</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 502. Indicates that a gateway or proxy server received an invalid response
|
||||
from the upstream server.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -254,7 +263,8 @@
|
||||
<b>BadRequest</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 400. Indicates that the client's request could not be understood
|
||||
by the server due to malformed syntax.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -262,7 +272,8 @@
|
||||
<b>Conflict</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 409. Indicates that the client's request could not be completed
|
||||
due to a conflict on the server.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -270,7 +281,7 @@
|
||||
<b>Continue</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 100. Indicates that the client should continue with its request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -278,7 +289,8 @@
|
||||
<b>Created</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 201. Indicates that the client's request has been fulfilled
|
||||
and resulted in a new resource being created.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -286,7 +298,8 @@
|
||||
<b>ExpectationFailed</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 417. Indicates that the expectation given in an Expect request header field
|
||||
could not be met by the server.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -294,7 +307,8 @@
|
||||
<b>Forbidden</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 403. Indicates that the server understood the client's request
|
||||
but is refusing to fulfill it.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -302,7 +316,13 @@
|
||||
<b>Found</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
Equivalent to status code 302. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</p>
|
||||
<p>
|
||||
Found is a synonym for Redirect.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -310,7 +330,8 @@
|
||||
<b>GatewayTimeout</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 504. Indicates that a gateway or proxy server did not receive a timely response
|
||||
from the upstream server or some other auxiliary server.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -318,7 +339,8 @@
|
||||
<b>Gone</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 410. Indicates that the requested resource is no longer available
|
||||
at the server and no forwarding address is known.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -326,7 +348,8 @@
|
||||
<b>HttpVersionNotSupported</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 505. Indicates that the server does not support the HTTP version
|
||||
used in the client's request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -334,7 +357,8 @@
|
||||
<b>InternalServerError</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 500. Indicates that the server encountered an unexpected condition
|
||||
which prevented it from fulfilling the client's request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -342,7 +366,8 @@
|
||||
<b>LengthRequired</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 411. Indicates that the server refuses to accept the client's request
|
||||
without a defined Content-Length.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -350,7 +375,8 @@
|
||||
<b>MethodNotAllowed</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 405. Indicates that the method specified in the request line
|
||||
is not allowed for the resource identified by the request URI.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -358,7 +384,13 @@
|
||||
<b>Moved</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
Equivalent to status code 301. Indicates that the requested resource has been assigned a new permanent URI
|
||||
and any future references to this resource should use one of the returned URIs.
|
||||
</p>
|
||||
<p>
|
||||
Moved is a synonym for MovedPermanently.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -366,7 +398,13 @@
|
||||
<b>MovedPermanently</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
Equivalent to status code 301. Indicates that the requested resource has been assigned a new permanent URI
|
||||
and any future references to this resource should use one of the returned URIs.
|
||||
</p>
|
||||
<p>
|
||||
MovedPermanently is a synonym for Moved.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -374,7 +412,13 @@
|
||||
<b>MultipleChoices</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
Equivalent to status code 300. Indicates that the requested resource corresponds to
|
||||
any one of multiple representations.
|
||||
</p>
|
||||
<p>
|
||||
MultipleChoices is a synonym for Ambiguous.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -382,7 +426,8 @@
|
||||
<b>NoContent</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 204. Indicates that the server has fulfilled the client's request
|
||||
but does not need to return an entity-body.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -390,7 +435,7 @@
|
||||
<b>NonAuthoritativeInformation</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 203. Indicates that the returned metainformation is from a local or a third-party copy instead of the origin server.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -398,7 +443,8 @@
|
||||
<b>NotAcceptable</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 406. Indicates that the server does not have the appropriate resource
|
||||
to respond to the accept headers in the client's request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -406,7 +452,8 @@
|
||||
<b>NotFound</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 404. Indicates that the server has not found anything
|
||||
matching the request URI.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -414,7 +461,8 @@
|
||||
<b>NotImplemented</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 501. Indicates that the server does not support the functionality
|
||||
required to fulfill the client's request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -422,7 +470,8 @@
|
||||
<b>NotModified</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 304. Indicates that the client has performed a conditional GET request
|
||||
and access is allowed, but the document has not been modified.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -430,7 +479,7 @@
|
||||
<b>OK</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 200. Indicates that the client's request has succeeded.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -438,7 +487,7 @@
|
||||
<b>PartialContent</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 206. Indicates that the server has fulfilled the partial GET request for the resource.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -446,7 +495,7 @@
|
||||
<b>PaymentRequired</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 402. This code is reserved for future use.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -454,7 +503,8 @@
|
||||
<b>PreconditionFailed</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 412. Indicates that the precondition given in one or more of the request header fields
|
||||
evaluated to false when it was tested on the server.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -462,7 +512,7 @@
|
||||
<b>ProxyAuthenticationRequired</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 407. Indicates that the client must first authenticate itself with the proxy.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -470,7 +520,13 @@
|
||||
<b>Redirect</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
Equivalent to status code 302. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</p>
|
||||
<p>
|
||||
Redirect is a synonym for Found.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -478,7 +534,13 @@
|
||||
<b>RedirectKeepVerb</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
Equivalent to status code 307. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</p>
|
||||
<p>
|
||||
RedirectKeepVerb is a synonym for TemporaryRedirect.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -486,7 +548,13 @@
|
||||
<b>RedirectMethod</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
Equivalent to status code 303. Indicates that the response to the request can be found
|
||||
under a different URI and should be retrieved using a GET method on that resource.
|
||||
</p>
|
||||
<p>
|
||||
RedirectMethod is a synonym for SeeOther.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -494,7 +562,8 @@
|
||||
<b>RequestedRangeNotSatisfiable</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 416. Indicates that none of the range specifier values in a Range request header field
|
||||
overlap the current extent of the selected resource.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -502,7 +571,8 @@
|
||||
<b>RequestEntityTooLarge</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 413. Indicates that the client's request entity is larger
|
||||
than the server is willing or able to process.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -510,7 +580,8 @@
|
||||
<b>RequestTimeout</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 408. Indicates that the client did not produce a request
|
||||
within the time that the server was prepared to wait.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -518,7 +589,8 @@
|
||||
<b>RequestUriTooLong</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 414. Indicates that the request URI is longer
|
||||
than the server is willing to interpret.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -526,7 +598,8 @@
|
||||
<b>ResetContent</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 205. Indicates that the server has fulfilled the client's request
|
||||
and the user agent should reset the document view which caused the request to be sent.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -534,7 +607,13 @@
|
||||
<b>SeeOther</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
Equivalent to status code 303. Indicates that the response to the request can be found
|
||||
under a different URI and should be retrieved using a GET method on that resource.
|
||||
</p>
|
||||
<p>
|
||||
SeeOther is a synonym for RedirectMethod.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -542,7 +621,8 @@
|
||||
<b>ServiceUnavailable</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 503. Indicates that the server is currently unable to handle the client's request
|
||||
due to a temporary overloading or maintenance of the server.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -550,7 +630,7 @@
|
||||
<b>SwitchingProtocols</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 101. Indicates that the server is switching the HTTP version or protocol on the connection.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -558,7 +638,13 @@
|
||||
<b>TemporaryRedirect</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
Equivalent to status code 307. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</p>
|
||||
<p>
|
||||
TemporaryRedirect is a synonym for RedirectKeepVerb.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -566,7 +652,7 @@
|
||||
<b>Unauthorized</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 401. Indicates that the client's request requires user authentication.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -574,7 +660,8 @@
|
||||
<b>UnsupportedMediaType</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 415. Indicates that the entity of the client's request is in a format
|
||||
not supported by the requested resource for the requested method.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -582,7 +669,8 @@
|
||||
<b>Unused</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 306. This code was used in a previous version of the specification,
|
||||
is no longer used, and is reserved for future use.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -590,7 +678,8 @@
|
||||
<b>UseProxy</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Equivalent to status code 305. Indicates that the requested resource must be accessed
|
||||
through the proxy given by the Location field.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -207,8 +207,8 @@
|
||||
</div>
|
||||
<h1 class="PageTitle" id="T:WebSocketSharp.Net.HttpVersion">HttpVersion Class</h1>
|
||||
<p class="Summary" id="T:WebSocketSharp.Net.HttpVersion:Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Provides the HTTP version numbers.
|
||||
</p>
|
||||
<div id="T:WebSocketSharp.Net.HttpVersion:Signature">
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public class <b>HttpVersion</b></div>
|
||||
@@ -243,8 +243,8 @@
|
||||
</b>()</div>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Initializes a new instance of the <a href="../WebSocketSharp.Net/HttpVersion.html">WebSocketSharp.Net.HttpVersion</a> class.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -265,7 +265,9 @@
|
||||
<td>
|
||||
<i>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Version">Version</a>
|
||||
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td>
|
||||
</i>.
|
||||
Provides a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Version">Version</a> instance for HTTP 1.0.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -279,7 +281,9 @@
|
||||
<td>
|
||||
<i>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Version">Version</a>
|
||||
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td>
|
||||
</i>.
|
||||
Provides a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Version">Version</a> instance for HTTP 1.1.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -322,8 +326,8 @@
|
||||
<h3 id="C:WebSocketSharp.Net.HttpVersion">HttpVersion Constructor</h3>
|
||||
<blockquote id="C:WebSocketSharp.Net.HttpVersion:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Initializes a new instance of the <a href="../WebSocketSharp.Net/HttpVersion.html">WebSocketSharp.Net.HttpVersion</a> class.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <b>HttpVersion</b> ()</div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
@@ -338,8 +342,8 @@
|
||||
<h3 id="F:WebSocketSharp.Net.HttpVersion.Version10">Version10 Field</h3>
|
||||
<blockquote id="F:WebSocketSharp.Net.HttpVersion.Version10:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Provides a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Version">Version</a> instance for HTTP 1.0.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static readonly <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Version">Version</a> <b>Version10</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
@@ -354,8 +358,8 @@
|
||||
<h3 id="F:WebSocketSharp.Net.HttpVersion.Version11">Version11 Field</h3>
|
||||
<blockquote id="F:WebSocketSharp.Net.HttpVersion.Version11:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Provides a <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Version">Version</a> instance for HTTP 1.1.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static readonly <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Version">Version</a> <b>Version11</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
|
@@ -295,16 +295,16 @@
|
||||
<a href="./HttpStatusCode.html">HttpStatusCode</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Contains the values of the HTTP status codes.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="./HttpVersion.html">HttpVersion</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Provides the HTTP version numbers.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
|
@@ -207,8 +207,8 @@
|
||||
</div>
|
||||
<h1 class="PageTitle" id="T:WebSocketSharp.Server.HttpServer">HttpServer Class</h1>
|
||||
<p class="Summary" id="T:WebSocketSharp.Server.HttpServer:Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
</p>
|
||||
<div id="T:WebSocketSharp.Server.HttpServer:Signature">
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public class <b>HttpServer</b></div>
|
||||
@@ -216,7 +216,35 @@
|
||||
<div class="Remarks" id="T:WebSocketSharp.Server.HttpServer:Docs">
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.Server.HttpServer:Docs:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<p>
|
||||
The HttpServer class provides the multi WebSocket service.
|
||||
</p>
|
||||
<p>
|
||||
<p>
|
||||
The HttpServer class needs the application configuration file to configure the server root path.
|
||||
</p>
|
||||
<table class="CodeExampleTable">
|
||||
<tr>
|
||||
<td>
|
||||
<b>
|
||||
<font size="-1">xml Example</font>
|
||||
</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<pre class="">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="RootPath" value="./Public" />
|
||||
</appSettings>
|
||||
</configuration>
|
||||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.Server.HttpServer:Docs:Version Information">
|
||||
@@ -243,8 +271,9 @@
|
||||
</b>()</div>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Initializes a new instance of the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class that listens for incoming requests
|
||||
on port 80.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -258,8 +287,9 @@
|
||||
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)</div>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Initializes a new instance of the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class that listens for incoming requests
|
||||
on the specified <i>port</i>.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -278,7 +308,9 @@
|
||||
<td>
|
||||
<i>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>
|
||||
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td>
|
||||
</i>.
|
||||
Gets the port on which to listen for incoming requests.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>[read-only]<div></div></td>
|
||||
@@ -290,7 +322,9 @@
|
||||
<td>
|
||||
<i>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<string></a>
|
||||
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td>
|
||||
</i>.
|
||||
Gets the collection of paths associated with the every WebSocket services that the server provides.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -305,7 +339,9 @@
|
||||
<td>
|
||||
<i>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
|
||||
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td>
|
||||
</i>.
|
||||
Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -321,8 +357,10 @@
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Server.HttpServer.AddService``1(System.String)">AddService<T></a>
|
||||
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td>
|
||||
<a href="#M:WebSocketSharp.Server.HttpServer.AddWebSocketService``1(System.String)">AddWebSocketService<T></a>
|
||||
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
|
||||
Adds the specified type WebSocket service.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -332,7 +370,9 @@
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Server.HttpServer.GetFile(System.String)">GetFile</a>
|
||||
</b>(<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.Byte">byte</a>[]</nobr><blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td>
|
||||
</b>(<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.Byte">byte</a>[]</nobr><blockquote>
|
||||
Gets the contents of the specified file.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -342,7 +382,9 @@
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Server.HttpServer.Start">Start</a>
|
||||
</b>()<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td>
|
||||
</b>()<blockquote>
|
||||
Starts to receive incoming requests.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -352,7 +394,9 @@
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Server.HttpServer.Stop">Stop</a>
|
||||
</b>()<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td>
|
||||
</b>()<blockquote>
|
||||
Stops receiving incoming requests.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -361,34 +405,6 @@
|
||||
<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>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnDelete">OnDelete</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
@@ -400,8 +416,8 @@
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Occurs when the server gets an error.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -410,12 +426,12 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnGet">OnGet</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToConnect">OnResponseToConnect</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Occurs when the server receives an HTTP CONNECT request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -424,12 +440,12 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnHead">OnHead</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToDelete">OnResponseToDelete</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Occurs when the server receives an HTTP DELETE request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -438,12 +454,12 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnOptions">OnOptions</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToGet">OnResponseToGet</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Occurs when the server receives an HTTP GET request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -452,12 +468,12 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnPatch">OnPatch</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToHead">OnResponseToHead</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Occurs when the server receives an HTTP HEAD request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -466,12 +482,12 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnPost">OnPost</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToOptions">OnResponseToOptions</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Occurs when the server receives an HTTP OPTIONS request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -480,12 +496,12 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnPut">OnPut</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToPatch">OnResponseToPatch</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Occurs when the server receives an HTTP PATCH request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -494,12 +510,40 @@
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnTrace">OnTrace</a>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToPost">OnResponseToPost</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
Occurs when the server receives an HTTP POST request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToPut">OnResponseToPut</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
Occurs when the server receives an HTTP PUT request.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<b>
|
||||
<a href="#E:WebSocketSharp.Server.HttpServer.OnResponseToTrace">OnResponseToTrace</a>
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
Occurs when the server receives an HTTP TRACE request.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -542,8 +586,9 @@
|
||||
<h3 id="C:WebSocketSharp.Server.HttpServer">HttpServer Constructor</h3>
|
||||
<blockquote id="C:WebSocketSharp.Server.HttpServer:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Initializes a new instance of the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class that listens for incoming requests
|
||||
on port 80.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <b>HttpServer</b> ()</div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
@@ -558,8 +603,9 @@
|
||||
<h3 id="C:WebSocketSharp.Server.HttpServer(System.Int32)">HttpServer Constructor</h3>
|
||||
<blockquote id="C:WebSocketSharp.Server.HttpServer(System.Int32):member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Initializes a new instance of the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class that listens for incoming requests
|
||||
on the specified <i>port</i>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <b>HttpServer</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> port)</div>
|
||||
<h4 class="Subsection">Parameters</h4>
|
||||
@@ -569,8 +615,8 @@
|
||||
<i>port</i>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</dd>
|
||||
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains a port number.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
@@ -582,49 +628,49 @@
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Server.HttpServer.AddService``1(System.String)">AddService<T> Generic Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Server.HttpServer.AddService``1(System.String):member">
|
||||
<h3 id="M:WebSocketSharp.Server.HttpServer.AddWebSocketService``1(System.String)">AddWebSocketService<T> Generic Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Server.HttpServer.AddWebSocketService``1(System.String):member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Adds the specified type WebSocket service.
|
||||
</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>AddService<T></b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> absPath)<br /> where T : <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>, new()</div>
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>AddWebSocketService<T></b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> absPath)<br /> where T : <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>, new()</div>
|
||||
<h4 class="Subsection">Type Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.HttpServer.AddService``1(System.String):Type Parameters">
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.HttpServer.AddWebSocketService``1(System.String):Type Parameters">
|
||||
<dl>
|
||||
<dt>
|
||||
<i>T</i>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</dd>
|
||||
The type of the WebSocket service. The T must inherit the <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> class.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.HttpServer.AddService``1(System.String):Parameters">
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.HttpServer.AddWebSocketService``1(System.String):Parameters">
|
||||
<dl>
|
||||
<dt>
|
||||
<i>absPath</i>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains an absolute path associated with the WebSocket service.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Server.HttpServer.AddService``1(System.String):Remarks">
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Server.HttpServer.AddWebSocketService``1(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.Server.HttpServer.AddService``1(System.String):Version Information">
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Server.HttpServer.AddWebSocketService``1(System.String):Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Server.HttpServer.GetFile(System.String)">GetFile Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Server.HttpServer.GetFile(System.String):member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Gets the contents of the specified file.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a>[] <b>GetFile</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> path)</div>
|
||||
<h4 class="Subsection">Parameters</h4>
|
||||
@@ -634,14 +680,14 @@
|
||||
<i>path</i>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</dd>
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a virtual path to the file to get.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.HttpServer.GetFile(System.String):Returns">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</blockquote>
|
||||
An array of <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Byte">byte</a> that contains the contents of the file.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Server.HttpServer.GetFile(System.String):Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
@@ -651,43 +697,11 @@
|
||||
<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">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</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>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">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</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>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">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Occurs when the server gets an error.
|
||||
</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<WebSocketSharp.ErrorEventArgs></a> <b>OnError</b> </div>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
@@ -699,129 +713,161 @@
|
||||
<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.OnGet">OnGet Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnGet:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToConnect">OnResponseToConnect Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToConnect:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
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>OnGet</b> </div>
|
||||
<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.OnGet:Remarks">
|
||||
<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.OnGet:Version Information">
|
||||
<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.OnHead">OnHead Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnHead:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToDelete">OnResponseToDelete Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToDelete:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
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>OnHead</b> </div>
|
||||
<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.OnHead:Remarks">
|
||||
<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.OnHead:Version Information">
|
||||
<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.OnOptions">OnOptions Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnOptions:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToGet">OnResponseToGet Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToGet:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
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>OnOptions</b> </div>
|
||||
<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>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnOptions:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToGet: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.OnOptions:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToGet: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.OnPatch">OnPatch Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnPatch:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToHead">OnResponseToHead Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToHead:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
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>OnPatch</b> </div>
|
||||
<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>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnPatch:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToHead: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.OnPatch:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToHead: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.OnPost">OnPost Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnPost:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToOptions">OnResponseToOptions Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToOptions:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
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>OnPost</b> </div>
|
||||
<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>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnPost:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToOptions: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.OnPost:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToOptions: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.OnPut">OnPut Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnPut:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToPatch">OnResponseToPatch Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToPatch:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
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>OnPut</b> </div>
|
||||
<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>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnPut:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPatch: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.OnPut:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPatch: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.OnTrace">OnTrace Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnTrace:member">
|
||||
<h3 id="E:WebSocketSharp.Server.HttpServer.OnResponseToPost">OnResponseToPost Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.HttpServer.OnResponseToPost:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
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>OnTrace</b> </div>
|
||||
<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>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnTrace:Remarks">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPost: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.OnTrace:Version Information">
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPost: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">
|
||||
<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>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToPut: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">
|
||||
<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">
|
||||
<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>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="E:WebSocketSharp.Server.HttpServer.OnResponseToTrace: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">
|
||||
<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.HttpServer.Port">Port Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Server.HttpServer.Port:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Gets the port on which to listen for incoming requests.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> <b>Port</b> { get; }</div>
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.HttpServer.Port:Value">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</blockquote>
|
||||
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains a port number.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpServer.Port:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
@@ -834,14 +880,14 @@
|
||||
<h3 id="P:WebSocketSharp.Server.HttpServer.ServicePaths">ServicePaths Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Server.HttpServer.ServicePaths:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Gets the collection of paths associated with the every WebSocket services that the server provides.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.IEnumerable`1">IEnumerable<string></a> <b>ServicePaths</b> { get; }</div>
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.HttpServer.ServicePaths:Value">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</blockquote>
|
||||
An IEnumerable<string> that contains the collection of paths.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpServer.ServicePaths:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
@@ -854,8 +900,8 @@
|
||||
<h3 id="M:WebSocketSharp.Server.HttpServer.Start">Start Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Server.HttpServer.Start:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Starts to receive incoming requests.
|
||||
</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>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
@@ -870,8 +916,8 @@
|
||||
<h3 id="M:WebSocketSharp.Server.HttpServer.Stop">Stop Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Server.HttpServer.Stop:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Stops receiving incoming requests.
|
||||
</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>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
@@ -886,14 +932,15 @@
|
||||
<h3 id="P:WebSocketSharp.Server.HttpServer.Sweeped">Sweeped Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Server.HttpServer.Sweeped:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeped</b> { get; set; }</div>
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.HttpServer.Sweeped:Value">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</blockquote>
|
||||
<tt>true</tt> if the server cleans up the inactive WebSocket service instances every 60 seconds;
|
||||
otherwise, <tt>false</tt>. The default value is <tt>true</tt>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.HttpServer.Sweeped:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
|
@@ -207,8 +207,8 @@
|
||||
</div>
|
||||
<h1 class="PageTitle" id="T:WebSocketSharp.Server.ResponseEventArgs">ResponseEventArgs Class</h1>
|
||||
<p class="Summary" id="T:WebSocketSharp.Server.ResponseEventArgs:Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Contains the event data associated with the response events of the <a href="../WebSocketSharp.Server/HttpServer.html">WebSocketSharp.Server.HttpServer</a> class.
|
||||
</p>
|
||||
<div id="T:WebSocketSharp.Server.ResponseEventArgs:Signature">
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public class <b>ResponseEventArgs</b> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.EventArgs">EventArgs</a></div>
|
||||
@@ -216,8 +216,10 @@
|
||||
<div class="Remarks" id="T:WebSocketSharp.Server.ResponseEventArgs:Docs">
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.Server.ResponseEventArgs:Docs:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
A response 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="../WebSocketSharp.Server/ResponseEventArgs.html#P:WebSocketSharp.Server.ResponseEventArgs.Request">ResponseEventArgs.Request</a> property.
|
||||
If you want to get the HTTP response objects to send, you should access the <a href="../WebSocketSharp.Server/ResponseEventArgs.html#P:WebSocketSharp.Server.ResponseEventArgs.Response">ResponseEventArgs.Response</a> property.
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="T:WebSocketSharp.Server.ResponseEventArgs:Docs:Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
@@ -227,28 +229,6 @@
|
||||
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 Constructors</h2>
|
||||
<div class="SectionBox" id="Public Constructors">
|
||||
<div class="SubsectionBox">
|
||||
<table class="TypeMembers">
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<b>
|
||||
<a href="#C:WebSocketSharp.Server.ResponseEventArgs(WebSocketSharp.Net.HttpListenerContext)">ResponseEventArgs</a>
|
||||
</b>(<a href="../WebSocketSharp.Net/HttpListenerContext.html">WebSocketSharp.Net.HttpListenerContext</a>)</div>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="Section">Public Properties</h2>
|
||||
<div class="SectionBox" id="Public Properties">
|
||||
<div class="SubsectionBox">
|
||||
@@ -263,7 +243,9 @@
|
||||
<td>
|
||||
<i>
|
||||
<a href="../WebSocketSharp.Net/HttpListenerRequest.html">WebSocketSharp.Net.HttpListenerRequest</a>
|
||||
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td>
|
||||
</i>.
|
||||
Gets the HTTP request objects sent from a client.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>[read-only]<div></div></td>
|
||||
@@ -275,7 +257,9 @@
|
||||
<td>
|
||||
<i>
|
||||
<a href="../WebSocketSharp.Net/HttpListenerResponse.html">WebSocketSharp.Net.HttpListenerResponse</a>
|
||||
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td>
|
||||
</i>.
|
||||
Gets the HTTP response objects to send to the client in response to the client's request.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -315,44 +299,17 @@
|
||||
<div class="Members" id="T:WebSocketSharp.Server.ResponseEventArgs:Members">
|
||||
<h2 class="Section" id="MemberDetails">Member Details</h2>
|
||||
<div class="SectionBox" id="_MemberDetails">
|
||||
<h3 id="C:WebSocketSharp.Server.ResponseEventArgs(WebSocketSharp.Net.HttpListenerContext)">ResponseEventArgs Constructor</h3>
|
||||
<blockquote id="C:WebSocketSharp.Server.ResponseEventArgs(WebSocketSharp.Net.HttpListenerContext):member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public <b>ResponseEventArgs</b> (<a href="../WebSocketSharp.Net/HttpListenerContext.html">WebSocketSharp.Net.HttpListenerContext</a> context)</div>
|
||||
<h4 class="Subsection">Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Server.ResponseEventArgs(WebSocketSharp.Net.HttpListenerContext):Parameters">
|
||||
<dl>
|
||||
<dt>
|
||||
<i>context</i>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="C:WebSocketSharp.Server.ResponseEventArgs(WebSocketSharp.Net.HttpListenerContext):Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</div>
|
||||
<h2 class="Section">Requirements</h2>
|
||||
<div class="SectionBox" id="C:WebSocketSharp.Server.ResponseEventArgs(WebSocketSharp.Net.HttpListenerContext):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.ResponseEventArgs.Request">Request Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Server.ResponseEventArgs.Request:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
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.ResponseEventArgs.Request:Value">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</blockquote>
|
||||
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.ResponseEventArgs.Request:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
@@ -365,14 +322,14 @@
|
||||
<h3 id="P:WebSocketSharp.Server.ResponseEventArgs.Response">Response Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Server.ResponseEventArgs.Response:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
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.ResponseEventArgs.Response:Value">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</blockquote>
|
||||
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.ResponseEventArgs.Response:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
|
@@ -458,9 +458,9 @@
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Server.WebSocketServer.AddService``1(System.String)">AddService<T></a>
|
||||
<a href="#M:WebSocketSharp.Server.WebSocketServer.AddWebSocketService``1(System.String)">AddWebSocketService<T></a>
|
||||
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
|
||||
Adds a WebSocket service.
|
||||
Adds the specified type WebSocket service.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -569,7 +569,7 @@
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
Occurs when this server gets an error.
|
||||
Occurs when the server gets an error.
|
||||
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -817,15 +817,15 @@
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
<h3 id="M:WebSocketSharp.Server.WebSocketServer.AddService``1(System.String)">AddService<T> Generic Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Server.WebSocketServer.AddService``1(System.String):member">
|
||||
<h3 id="M:WebSocketSharp.Server.WebSocketServer.AddWebSocketService``1(System.String)">AddWebSocketService<T> Generic Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Server.WebSocketServer.AddWebSocketService``1(System.String):member">
|
||||
<p class="Summary">
|
||||
Adds a WebSocket service.
|
||||
Adds the specified type WebSocket service.
|
||||
</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>AddService<T></b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> absPath)<br /> where T : <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>, new()</div>
|
||||
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>AddWebSocketService<T></b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> absPath)<br /> where T : <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>, new()</div>
|
||||
<h4 class="Subsection">Type Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServer.AddService``1(System.String):Type Parameters">
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServer.AddWebSocketService``1(System.String):Type Parameters">
|
||||
<dl>
|
||||
<dt>
|
||||
<i>T</i>
|
||||
@@ -836,7 +836,7 @@
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Parameters</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServer.AddService``1(System.String):Parameters">
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServer.AddWebSocketService``1(System.String):Parameters">
|
||||
<dl>
|
||||
<dt>
|
||||
<i>absPath</i>
|
||||
@@ -847,11 +847,11 @@
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServer.AddService``1(System.String):Remarks">
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServer.AddWebSocketService``1(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.Server.WebSocketServer.AddService``1(System.String):Version Information">
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServer.AddWebSocketService``1(System.String):Version Information">
|
||||
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
||||
<hr size="1" />
|
||||
</blockquote>
|
||||
@@ -928,6 +928,7 @@
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServer.Sweeped:Value">
|
||||
<tt>true</tt> if the server cleans up the inactive clients every 60 seconds; otherwise, <tt>false</tt>.
|
||||
The default value is <tt>true</tt>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServer.Sweeped:Remarks">
|
||||
|
@@ -444,7 +444,7 @@
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
Occurs when this server gets an error.
|
||||
Occurs when the server gets an error.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -770,7 +770,7 @@
|
||||
<h3 id="E:WebSocketSharp.Server.WebSocketServerBase.OnError">OnError Event</h3>
|
||||
<blockquote id="E:WebSocketSharp.Server.WebSocketServerBase.OnError:member">
|
||||
<p class="Summary">
|
||||
Occurs when this server gets an error.
|
||||
Occurs when the server gets an error.
|
||||
</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<WebSocketSharp.ErrorEventArgs></a> <b>OnError</b> </div>
|
||||
|
@@ -372,7 +372,7 @@
|
||||
<i>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.IPAddress">System.Net.IPAddress</a>
|
||||
</i>.
|
||||
Gets the IP address on which to listen for incoming connection attempts.
|
||||
Gets the local IP address on which to listen for incoming connection attempts.
|
||||
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -386,7 +386,7 @@
|
||||
<i>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
|
||||
</i>.
|
||||
Gets a value indicating whether this server provides secure connection.
|
||||
Gets a value indicating whether the server provides secure connection.
|
||||
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -400,7 +400,7 @@
|
||||
<i>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
|
||||
</i>.
|
||||
Gets a value indicating whether this server is self host.
|
||||
Gets a value indicating whether the server is self host.
|
||||
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -597,7 +597,7 @@
|
||||
</b>
|
||||
</td>
|
||||
<td>
|
||||
Occurs when this server gets an error.
|
||||
Occurs when the server gets an error.
|
||||
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -1021,6 +1021,7 @@
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped:Value">
|
||||
<tt>true</tt> if the server cleans up the inactive clients every 60 seconds; otherwise, <tt>false</tt>.
|
||||
The default value is <tt>true</tt>.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped:Remarks">
|
||||
|
@@ -207,8 +207,8 @@
|
||||
<a href="./HttpServer.html">HttpServer</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -223,8 +223,8 @@
|
||||
<a href="./ResponseEventArgs.html">ResponseEventArgs</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</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>
|
||||
|
@@ -328,7 +328,7 @@
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Ext.GetDescription(WebSocketSharp.Net.HttpStatusCode)">GetDescription</a>
|
||||
</b>(<i>this</i> <a href="../WebSocketSharp.Net/HttpStatusCode.html">WebSocketSharp.Net.HttpStatusCode</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a></nobr><blockquote>
|
||||
Gets the description of the HTTP status code using the specified code.
|
||||
Gets the description of the HTTP status code using the specified <a href="../WebSocketSharp.Net/HttpStatusCode.html">WebSocketSharp.Net.HttpStatusCode</a>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -361,7 +361,7 @@
|
||||
<b>
|
||||
<a href="#M:WebSocketSharp.Ext.GetStatusDescription(System.Int32)">GetStatusDescription</a>
|
||||
</b>(<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a></nobr><blockquote>
|
||||
Gets the description of the HTTP status code using the specified code.
|
||||
Gets the description of the HTTP status code using the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>.
|
||||
</blockquote></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@@ -1089,7 +1089,7 @@
|
||||
<h3 id="M:WebSocketSharp.Ext.GetDescription(WebSocketSharp.Net.HttpStatusCode)">GetDescription Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.GetDescription(WebSocketSharp.Net.HttpStatusCode):member">
|
||||
<p class="Summary">
|
||||
Gets the description of the HTTP status code using the specified code.
|
||||
Gets the description of the HTTP status code using the specified <a href="../WebSocketSharp.Net/HttpStatusCode.html">WebSocketSharp.Net.HttpStatusCode</a>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>GetDescription</b> (<i>this</i> <a href="../WebSocketSharp.Net/HttpStatusCode.html">WebSocketSharp.Net.HttpStatusCode</a> code)</div>
|
||||
@@ -1100,13 +1100,13 @@
|
||||
<i>code</i>
|
||||
</dt>
|
||||
<dd>
|
||||
One of <a href="../WebSocketSharp.Net/HttpStatusCode.html">WebSocketSharp.Net.HttpStatusCode</a> values that contains the HTTP status code.
|
||||
One of <a href="../WebSocketSharp.Net/HttpStatusCode.html">WebSocketSharp.Net.HttpStatusCode</a> values that contains an HTTP status code.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.GetDescription(WebSocketSharp.Net.HttpStatusCode):Returns">
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the description of the <i>code</i>.
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the description of the HTTP status code.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.GetDescription(WebSocketSharp.Net.HttpStatusCode):Remarks">
|
||||
@@ -1194,7 +1194,7 @@
|
||||
<h3 id="M:WebSocketSharp.Ext.GetStatusDescription(System.Int32)">GetStatusDescription Method</h3>
|
||||
<blockquote id="M:WebSocketSharp.Ext.GetStatusDescription(System.Int32):member">
|
||||
<p class="Summary">
|
||||
Gets the description of the HTTP status code using the specified code.
|
||||
Gets the description of the HTTP status code using the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>.
|
||||
</p>
|
||||
<h2>Syntax</h2>
|
||||
<div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> <b>GetStatusDescription</b> (<i>this</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> code)</div>
|
||||
@@ -1205,13 +1205,13 @@
|
||||
<i>code</i>
|
||||
</dt>
|
||||
<dd>
|
||||
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains the HTTP status code.
|
||||
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains an HTTP status code.
|
||||
</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Returns</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Ext.GetStatusDescription(System.Int32):Returns">
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the description of the <i>code</i>.
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the description of the HTTP status code.
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Ext.GetStatusDescription(System.Int32):Remarks">
|
||||
|
@@ -387,16 +387,16 @@
|
||||
<a href="WebSocketSharp.Net/HttpStatusCode.html">HttpStatusCode</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Contains the values of the HTTP status codes.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="WebSocketSharp.Net/HttpVersion.html">HttpVersion</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Provides the HTTP version numbers.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -455,8 +455,8 @@
|
||||
<a href="WebSocketSharp.Server/HttpServer.html">HttpServer</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</td>
|
||||
Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
@@ -471,8 +471,8 @@
|
||||
<a href="WebSocketSharp.Server/ResponseEventArgs.html">ResponseEventArgs</a>
|
||||
</td>
|
||||
<td>
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</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>
|
||||
|
@@ -8,8 +8,13 @@
|
||||
<BaseTypeName>System.Enum</BaseTypeName>
|
||||
</Base>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>
|
||||
Contains the values of the HTTP status codes.
|
||||
</summary>
|
||||
<remarks>
|
||||
The HttpStatusCode enumeration contains the values of the HTTP status codes defined in
|
||||
<see href="http://tools.ietf.org/html/rfc2616#section-10">RFC 2616</see> for HTTP 1.1.
|
||||
</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName="Accepted">
|
||||
@@ -20,7 +25,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 202. Indicates that the client's request has been accepted for processing,
|
||||
but the processing has not been completed.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Ambiguous">
|
||||
@@ -31,7 +39,15 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 300. Indicates that the requested resource corresponds to
|
||||
any one of multiple representations.
|
||||
</para>
|
||||
<para>
|
||||
Ambiguous is a synonym for MultipleChoices.
|
||||
</para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="BadGateway">
|
||||
@@ -42,7 +58,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 502. Indicates that a gateway or proxy server received an invalid response
|
||||
from the upstream server.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="BadRequest">
|
||||
@@ -53,7 +72,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 400. Indicates that the client's request could not be understood
|
||||
by the server due to malformed syntax.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Conflict">
|
||||
@@ -64,7 +86,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 409. Indicates that the client's request could not be completed
|
||||
due to a conflict on the server.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Continue">
|
||||
@@ -75,7 +100,9 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 100. Indicates that the client should continue with its request.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Created">
|
||||
@@ -86,7 +113,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 201. Indicates that the client's request has been fulfilled
|
||||
and resulted in a new resource being created.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ExpectationFailed">
|
||||
@@ -97,7 +127,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 417. Indicates that the expectation given in an Expect request header field
|
||||
could not be met by the server.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Forbidden">
|
||||
@@ -108,7 +141,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 403. Indicates that the server understood the client's request
|
||||
but is refusing to fulfill it.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Found">
|
||||
@@ -119,7 +155,15 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 302. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</para>
|
||||
<para>
|
||||
Found is a synonym for Redirect.
|
||||
</para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GatewayTimeout">
|
||||
@@ -130,7 +174,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 504. Indicates that a gateway or proxy server did not receive a timely response
|
||||
from the upstream server or some other auxiliary server.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Gone">
|
||||
@@ -141,7 +188,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 410. Indicates that the requested resource is no longer available
|
||||
at the server and no forwarding address is known.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="HttpVersionNotSupported">
|
||||
@@ -152,7 +202,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 505. Indicates that the server does not support the HTTP version
|
||||
used in the client's request.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="InternalServerError">
|
||||
@@ -163,7 +216,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 500. Indicates that the server encountered an unexpected condition
|
||||
which prevented it from fulfilling the client's request.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="LengthRequired">
|
||||
@@ -174,7 +230,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 411. Indicates that the server refuses to accept the client's request
|
||||
without a defined Content-Length.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="MethodNotAllowed">
|
||||
@@ -185,7 +244,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 405. Indicates that the method specified in the request line
|
||||
is not allowed for the resource identified by the request URI.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Moved">
|
||||
@@ -196,7 +258,15 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 301. Indicates that the requested resource has been assigned a new permanent URI
|
||||
and any future references to this resource should use one of the returned URIs.
|
||||
</para>
|
||||
<para>
|
||||
Moved is a synonym for MovedPermanently.
|
||||
</para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="MovedPermanently">
|
||||
@@ -207,7 +277,15 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 301. Indicates that the requested resource has been assigned a new permanent URI
|
||||
and any future references to this resource should use one of the returned URIs.
|
||||
</para>
|
||||
<para>
|
||||
MovedPermanently is a synonym for Moved.
|
||||
</para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="MultipleChoices">
|
||||
@@ -218,7 +296,15 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 300. Indicates that the requested resource corresponds to
|
||||
any one of multiple representations.
|
||||
</para>
|
||||
<para>
|
||||
MultipleChoices is a synonym for Ambiguous.
|
||||
</para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NoContent">
|
||||
@@ -229,7 +315,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 204. Indicates that the server has fulfilled the client's request
|
||||
but does not need to return an entity-body.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NonAuthoritativeInformation">
|
||||
@@ -240,7 +329,9 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 203. Indicates that the returned metainformation is from a local or a third-party copy instead of the origin server.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NotAcceptable">
|
||||
@@ -251,7 +342,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 406. Indicates that the server does not have the appropriate resource
|
||||
to respond to the accept headers in the client's request.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NotFound">
|
||||
@@ -262,7 +356,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 404. Indicates that the server has not found anything
|
||||
matching the request URI.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NotImplemented">
|
||||
@@ -273,7 +370,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 501. Indicates that the server does not support the functionality
|
||||
required to fulfill the client's request.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="NotModified">
|
||||
@@ -284,7 +384,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 304. Indicates that the client has performed a conditional GET request
|
||||
and access is allowed, but the document has not been modified.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OK">
|
||||
@@ -295,7 +398,9 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 200. Indicates that the client's request has succeeded.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PartialContent">
|
||||
@@ -306,7 +411,9 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 206. Indicates that the server has fulfilled the partial GET request for the resource.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PaymentRequired">
|
||||
@@ -317,7 +424,9 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 402. This code is reserved for future use.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="PreconditionFailed">
|
||||
@@ -328,7 +437,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 412. Indicates that the precondition given in one or more of the request header fields
|
||||
evaluated to false when it was tested on the server.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ProxyAuthenticationRequired">
|
||||
@@ -339,7 +451,9 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 407. Indicates that the client must first authenticate itself with the proxy.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Redirect">
|
||||
@@ -350,7 +464,15 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 302. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</para>
|
||||
<para>
|
||||
Redirect is a synonym for Found.
|
||||
</para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RedirectKeepVerb">
|
||||
@@ -361,7 +483,15 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 307. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</para>
|
||||
<para>
|
||||
RedirectKeepVerb is a synonym for TemporaryRedirect.
|
||||
</para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RedirectMethod">
|
||||
@@ -372,7 +502,15 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 303. Indicates that the response to the request can be found
|
||||
under a different URI and should be retrieved using a GET method on that resource.
|
||||
</para>
|
||||
<para>
|
||||
RedirectMethod is a synonym for SeeOther.
|
||||
</para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RequestedRangeNotSatisfiable">
|
||||
@@ -383,7 +521,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 416. Indicates that none of the range specifier values in a Range request header field
|
||||
overlap the current extent of the selected resource.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RequestEntityTooLarge">
|
||||
@@ -394,7 +535,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 413. Indicates that the client's request entity is larger
|
||||
than the server is willing or able to process.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RequestTimeout">
|
||||
@@ -405,7 +549,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 408. Indicates that the client did not produce a request
|
||||
within the time that the server was prepared to wait.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="RequestUriTooLong">
|
||||
@@ -416,7 +563,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 414. Indicates that the request URI is longer
|
||||
than the server is willing to interpret.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ResetContent">
|
||||
@@ -427,7 +577,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 205. Indicates that the server has fulfilled the client's request
|
||||
and the user agent should reset the document view which caused the request to be sent.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="SeeOther">
|
||||
@@ -438,7 +591,15 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 303. Indicates that the response to the request can be found
|
||||
under a different URI and should be retrieved using a GET method on that resource.
|
||||
</para>
|
||||
<para>
|
||||
SeeOther is a synonym for RedirectMethod.
|
||||
</para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="ServiceUnavailable">
|
||||
@@ -449,7 +610,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 503. Indicates that the server is currently unable to handle the client's request
|
||||
due to a temporary overloading or maintenance of the server.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="SwitchingProtocols">
|
||||
@@ -460,7 +624,9 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 101. Indicates that the server is switching the HTTP version or protocol on the connection.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="TemporaryRedirect">
|
||||
@@ -471,7 +637,15 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
<para>
|
||||
Equivalent to status code 307. Indicates that the requested resource is located temporarily
|
||||
under a different URI.
|
||||
</para>
|
||||
<para>
|
||||
TemporaryRedirect is a synonym for RedirectKeepVerb.
|
||||
</para>
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Unauthorized">
|
||||
@@ -482,7 +656,9 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 401. Indicates that the client's request requires user authentication.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="UnsupportedMediaType">
|
||||
@@ -493,7 +669,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 415. Indicates that the entity of the client's request is in a format
|
||||
not supported by the requested resource for the requested method.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Unused">
|
||||
@@ -504,7 +683,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 306. This code was used in a previous version of the specification,
|
||||
is no longer used, and is reserved for future use.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="UseProxy">
|
||||
@@ -515,7 +697,10 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpStatusCode</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Equivalent to status code 305. Indicates that the requested resource must be accessed
|
||||
through the proxy given by the Location field.
|
||||
</summary>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
@@ -9,7 +9,9 @@
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Provides the HTTP version numbers.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
<Members>
|
||||
@@ -19,7 +21,9 @@
|
||||
<MemberType>Constructor</MemberType>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:WebSocketSharp.Net.HttpVersion" /> class.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -31,7 +35,9 @@
|
||||
<ReturnType>System.Version</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Provides a <see cref="T:System.Version" /> instance for HTTP 1.0.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -43,7 +49,9 @@
|
||||
<ReturnType>System.Version</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Provides a <see cref="T:System.Version" /> instance for HTTP 1.1.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@@ -9,8 +9,35 @@
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<summary>
|
||||
Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The HttpServer class provides the multi WebSocket service.
|
||||
</para>
|
||||
<para>
|
||||
<para>
|
||||
The HttpServer class needs the application configuration file to configure the server root path.
|
||||
</para>
|
||||
<code lang="xml">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="RootPath" value="./Public" />
|
||||
</appSettings>
|
||||
</configuration>
|
||||
</code>
|
||||
</para>
|
||||
</remarks>
|
||||
<code>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="RootPath" value="../../Public" />
|
||||
</appSettings>
|
||||
</configuration>
|
||||
</code>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
@@ -19,7 +46,10 @@
|
||||
<MemberType>Constructor</MemberType>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:WebSocketSharp.Server.HttpServer" /> class that listens for incoming requests
|
||||
on port 80.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -31,14 +61,19 @@
|
||||
<Parameter Name="port" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="port">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<param name="port">
|
||||
An <see cref="T:System.Int32" /> that contains a port number.
|
||||
</param>
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:WebSocketSharp.Server.HttpServer" /> class that listens for incoming requests
|
||||
on the specified <paramref name="port" />.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AddService<T>">
|
||||
<MemberSignature Language="C#" Value="public void AddService<T> (string absPath) where T : WebSocketSharp.Server.WebSocketServicenew();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddService<.ctor (class WebSocketSharp.Server.WebSocketService) T>(string absPath) cil managed" />
|
||||
<Member MemberName="AddWebSocketService<T>">
|
||||
<MemberSignature Language="C#" Value="public void AddWebSocketService<T> (string absPath) where T : WebSocketSharp.Server.WebSocketServicenew();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddWebSocketService<.ctor (class WebSocketSharp.Server.WebSocketService) T>(string absPath) cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
@@ -55,9 +90,15 @@
|
||||
<Parameter Name="absPath" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<typeparam name="T">To be added.</typeparam>
|
||||
<param name="absPath">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<typeparam name="T">
|
||||
The type of the WebSocket service. The T must inherit the <see cref="T:WebSocketSharp.Server.WebSocketService" /> class.
|
||||
</typeparam>
|
||||
<param name="absPath">
|
||||
A <see cref="T:System.String" /> that contains an absolute path associated with the WebSocket service.
|
||||
</param>
|
||||
<summary>
|
||||
Adds the specified type WebSocket service.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -72,33 +113,15 @@
|
||||
<Parameter Name="path" Type="System.String" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="path">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<returns>To be added.</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnConnect">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnConnect;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnConnect" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnDelete">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnDelete;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnDelete" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<param name="path">
|
||||
A <see cref="T:System.String" /> that contains a virtual path to the file to get.
|
||||
</param>
|
||||
<summary>
|
||||
Gets the contents of the specified file.
|
||||
</summary>
|
||||
<returns>
|
||||
An array of <see cref="T:System.Byte" /> that contains the contents of the file.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -110,91 +133,135 @@
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.ErrorEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Occurs when the server gets an error.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnGet">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnGet;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnGet" />
|
||||
<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" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP CONNECT request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnHead">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnHead;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnHead" />
|
||||
<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>To be added.</summary>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP DELETE request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnOptions">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnOptions;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnOptions" />
|
||||
<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>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP GET request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnPatch">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnPatch;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnPatch" />
|
||||
<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" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP HEAD request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnPost">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnPost;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnPost" />
|
||||
<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" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP OPTIONS request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnPut">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnPut;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnPut" />
|
||||
<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" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP PATCH request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="OnTrace">
|
||||
<MemberSignature Language="C#" Value="public event EventHandler<WebSocketSharp.Server.ResponseEventArgs> OnTrace;" />
|
||||
<MemberSignature Language="ILAsm" Value=".event class System.EventHandler`1<class WebSocketSharp.Server.ResponseEventArgs> OnTrace" />
|
||||
<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" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP POST request.
|
||||
</summary>
|
||||
<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" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP PUT request.
|
||||
</summary>
|
||||
<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" />
|
||||
<MemberType>Event</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.EventHandler<WebSocketSharp.Server.ResponseEventArgs></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Occurs when the server receives an HTTP TRACE request.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -206,8 +273,12 @@
|
||||
<ReturnType>System.Int32</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<summary>
|
||||
Gets the port on which to listen for incoming requests.
|
||||
</summary>
|
||||
<value>
|
||||
An <see cref="T:System.Int32" /> that contains a port number.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -219,8 +290,12 @@
|
||||
<ReturnType>System.Collections.Generic.IEnumerable<System.String></ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<summary>
|
||||
Gets the collection of paths associated with the every WebSocket services that the server provides.
|
||||
</summary>
|
||||
<value>
|
||||
An IEnumerable<string> that contains the collection of paths.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -233,7 +308,9 @@
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Starts to receive incoming requests.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -246,7 +323,9 @@
|
||||
</ReturnValue>
|
||||
<Parameters />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<summary>
|
||||
Stops receiving incoming requests.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
@@ -258,8 +337,13 @@
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<summary>
|
||||
Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically.
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if the server cleans up the inactive WebSocket service instances every 60 seconds;
|
||||
otherwise, <c>false</c>. The default value is <c>true</c>.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@@ -9,23 +9,16 @@
|
||||
</Base>
|
||||
<Interfaces />
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<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>
|
||||
</Docs>
|
||||
<Members>
|
||||
<Member MemberName=".ctor">
|
||||
<MemberSignature Language="C#" Value="public ResponseEventArgs (WebSocketSharp.Net.HttpListenerContext context);" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class WebSocketSharp.Net.HttpListenerContext context) cil managed" />
|
||||
<MemberType>Constructor</MemberType>
|
||||
<Parameters>
|
||||
<Parameter Name="context" Type="WebSocketSharp.Net.HttpListenerContext" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="context">To be added.</param>
|
||||
<summary>To be added.</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Request">
|
||||
<MemberSignature Language="C#" Value="public WebSocketSharp.Net.HttpListenerRequest Request { get; }" />
|
||||
<MemberSignature Language="ILAsm" Value=".property instance class WebSocketSharp.Net.HttpListenerRequest Request" />
|
||||
@@ -34,8 +27,12 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpListenerRequest</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<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>
|
||||
@@ -47,8 +44,12 @@
|
||||
<ReturnType>WebSocketSharp.Net.HttpListenerResponse</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<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>
|
||||
|
@@ -155,9 +155,9 @@
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AddService<T>">
|
||||
<MemberSignature Language="C#" Value="public void AddService<T> (string absPath) where T : WebSocketSharp.Server.WebSocketServicenew();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddService<.ctor (class WebSocketSharp.Server.WebSocketService) T>(string absPath) cil managed" />
|
||||
<Member MemberName="AddWebSocketService<T>">
|
||||
<MemberSignature Language="C#" Value="public void AddWebSocketService<T> (string absPath) where T : WebSocketSharp.Server.WebSocketServicenew();" />
|
||||
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddWebSocketService<.ctor (class WebSocketSharp.Server.WebSocketService) T>(string absPath) cil managed" />
|
||||
<MemberType>Method</MemberType>
|
||||
<ReturnValue>
|
||||
<ReturnType>System.Void</ReturnType>
|
||||
@@ -181,7 +181,7 @@
|
||||
A <see cref="T:System.String" /> that contains an absolute path associated with the WebSocket service.
|
||||
</param>
|
||||
<summary>
|
||||
Adds a WebSocket service.
|
||||
Adds the specified type WebSocket service.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
@@ -251,6 +251,7 @@
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if the server cleans up the inactive clients every 60 seconds; otherwise, <c>false</c>.
|
||||
The default value is <c>true</c>.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
|
@@ -214,7 +214,7 @@
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>
|
||||
Occurs when this server gets an error.
|
||||
Occurs when the server gets an error.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
|
@@ -286,6 +286,7 @@
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if the server cleans up the inactive clients every 60 seconds; otherwise, <c>false</c>.
|
||||
The default value is <c>true</c>.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
|
@@ -270,13 +270,13 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="code">
|
||||
One of <see cref="T:WebSocketSharp.Net.HttpStatusCode" /> values that contains the HTTP status code.
|
||||
One of <see cref="T:WebSocketSharp.Net.HttpStatusCode" /> values that contains an HTTP status code.
|
||||
</param>
|
||||
<summary>
|
||||
Gets the description of the HTTP status code using the specified code.
|
||||
Gets the description of the HTTP status code using the specified <see cref="T:WebSocketSharp.Net.HttpStatusCode" />.
|
||||
</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.String" /> that contains the description of the <paramref name="code" />.
|
||||
A <see cref="T:System.String" /> that contains the description of the HTTP status code.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
@@ -347,13 +347,13 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="code">
|
||||
An <see cref="T:System.Int32" /> that contains the HTTP status code.
|
||||
An <see cref="T:System.Int32" /> that contains an HTTP status code.
|
||||
</param>
|
||||
<summary>
|
||||
Gets the description of the HTTP status code using the specified code.
|
||||
Gets the description of the HTTP status code using the specified <see cref="T:System.Int32" />.
|
||||
</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.String" /> that contains the description of the <paramref name="code" />.
|
||||
A <see cref="T:System.String" /> that contains the description of the HTTP status code.
|
||||
</returns>
|
||||
<remarks>To be added.</remarks>
|
||||
</Docs>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<Overview>
|
||||
<Assemblies>
|
||||
<Assembly Name="websocket-sharp" Version="1.0.2.960">
|
||||
<Assembly Name="websocket-sharp" Version="1.0.2.41019">
|
||||
<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>
|
||||
@@ -354,10 +354,10 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="code">
|
||||
One of <see cref="T:WebSocketSharp.Net.HttpStatusCode" /> values that contains the HTTP status code.
|
||||
One of <see cref="T:WebSocketSharp.Net.HttpStatusCode" /> values that contains an HTTP status code.
|
||||
</param>
|
||||
<summary>
|
||||
Gets the description of the HTTP status code using the specified code.
|
||||
Gets the description of the HTTP status code using the specified <see cref="T:WebSocketSharp.Net.HttpStatusCode" />.
|
||||
</summary>
|
||||
</Docs>
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.GetDescription(WebSocketSharp.Net.HttpStatusCode)" />
|
||||
@@ -437,10 +437,10 @@
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<param name="code">
|
||||
An <see cref="T:System.Int32" /> that contains the HTTP status code.
|
||||
An <see cref="T:System.Int32" /> that contains an HTTP status code.
|
||||
</param>
|
||||
<summary>
|
||||
Gets the description of the HTTP status code using the specified code.
|
||||
Gets the description of the HTTP status code using the specified <see cref="T:System.Int32" />.
|
||||
</summary>
|
||||
</Docs>
|
||||
<Link Type="WebSocketSharp.Ext" Member="M:WebSocketSharp.Ext.GetStatusDescription(System.Int32)" />
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user