diff --git a/Example/bin/Debug/example.exe b/Example/bin/Debug/example.exe
index dcfd957b..d8ffb3f9 100755
Binary files a/Example/bin/Debug/example.exe and b/Example/bin/Debug/example.exe differ
diff --git a/Example/bin/Debug/example.exe.mdb b/Example/bin/Debug/example.exe.mdb
index 449f7973..1c21d179 100644
Binary files a/Example/bin/Debug/example.exe.mdb and b/Example/bin/Debug/example.exe.mdb differ
diff --git a/Example/bin/Debug/websocket-sharp.dll b/Example/bin/Debug/websocket-sharp.dll
index 4f518365..83633d5d 100755
Binary files a/Example/bin/Debug/websocket-sharp.dll and b/Example/bin/Debug/websocket-sharp.dll differ
diff --git a/Example/bin/Debug/websocket-sharp.dll.mdb b/Example/bin/Debug/websocket-sharp.dll.mdb
index 2aad9676..3497ca5c 100644
Binary files a/Example/bin/Debug/websocket-sharp.dll.mdb and b/Example/bin/Debug/websocket-sharp.dll.mdb differ
diff --git a/Example/bin/Debug_Ubuntu/example.exe b/Example/bin/Debug_Ubuntu/example.exe
index 66ee888a..5f480fee 100755
Binary files a/Example/bin/Debug_Ubuntu/example.exe and b/Example/bin/Debug_Ubuntu/example.exe differ
diff --git a/Example/bin/Debug_Ubuntu/example.exe.mdb b/Example/bin/Debug_Ubuntu/example.exe.mdb
index 8a76659b..1bec63f1 100644
Binary files a/Example/bin/Debug_Ubuntu/example.exe.mdb and b/Example/bin/Debug_Ubuntu/example.exe.mdb differ
diff --git a/Example/bin/Debug_Ubuntu/websocket-sharp.dll b/Example/bin/Debug_Ubuntu/websocket-sharp.dll
index c0b1212e..58f0052b 100755
Binary files a/Example/bin/Debug_Ubuntu/websocket-sharp.dll and b/Example/bin/Debug_Ubuntu/websocket-sharp.dll differ
diff --git a/Example/bin/Debug_Ubuntu/websocket-sharp.dll.mdb b/Example/bin/Debug_Ubuntu/websocket-sharp.dll.mdb
index 2a1a234f..77047401 100644
Binary files a/Example/bin/Debug_Ubuntu/websocket-sharp.dll.mdb and b/Example/bin/Debug_Ubuntu/websocket-sharp.dll.mdb differ
diff --git a/Example/bin/Release/example.exe b/Example/bin/Release/example.exe
index da023714..a45ea0b1 100755
Binary files a/Example/bin/Release/example.exe and b/Example/bin/Release/example.exe differ
diff --git a/Example/bin/Release/websocket-sharp.dll b/Example/bin/Release/websocket-sharp.dll
index 82be0547..b0dae019 100755
Binary files a/Example/bin/Release/websocket-sharp.dll and b/Example/bin/Release/websocket-sharp.dll differ
diff --git a/Example/bin/Release_Ubuntu/example.exe b/Example/bin/Release_Ubuntu/example.exe
index 76d03f24..803691fc 100755
Binary files a/Example/bin/Release_Ubuntu/example.exe and b/Example/bin/Release_Ubuntu/example.exe differ
diff --git a/Example/bin/Release_Ubuntu/websocket-sharp.dll b/Example/bin/Release_Ubuntu/websocket-sharp.dll
index 32c7c8b9..25a32dc9 100755
Binary files a/Example/bin/Release_Ubuntu/websocket-sharp.dll and b/Example/bin/Release_Ubuntu/websocket-sharp.dll differ
diff --git a/Example1/bin/Debug/example1.exe b/Example1/bin/Debug/example1.exe
index 7790c277..61e2c478 100755
Binary files a/Example1/bin/Debug/example1.exe and b/Example1/bin/Debug/example1.exe differ
diff --git a/Example1/bin/Debug/example1.exe.mdb b/Example1/bin/Debug/example1.exe.mdb
index 1663bdc8..53e6df74 100644
Binary files a/Example1/bin/Debug/example1.exe.mdb and b/Example1/bin/Debug/example1.exe.mdb differ
diff --git a/Example1/bin/Debug/websocket-sharp.dll b/Example1/bin/Debug/websocket-sharp.dll
index 4f518365..83633d5d 100755
Binary files a/Example1/bin/Debug/websocket-sharp.dll and b/Example1/bin/Debug/websocket-sharp.dll differ
diff --git a/Example1/bin/Debug/websocket-sharp.dll.mdb b/Example1/bin/Debug/websocket-sharp.dll.mdb
index 2aad9676..3497ca5c 100644
Binary files a/Example1/bin/Debug/websocket-sharp.dll.mdb and b/Example1/bin/Debug/websocket-sharp.dll.mdb differ
diff --git a/Example1/bin/Debug_Ubuntu/example1.exe b/Example1/bin/Debug_Ubuntu/example1.exe
index bb2fad40..038d8852 100755
Binary files a/Example1/bin/Debug_Ubuntu/example1.exe and b/Example1/bin/Debug_Ubuntu/example1.exe differ
diff --git a/Example1/bin/Debug_Ubuntu/example1.exe.mdb b/Example1/bin/Debug_Ubuntu/example1.exe.mdb
index 30bb111a..63193eaa 100644
Binary files a/Example1/bin/Debug_Ubuntu/example1.exe.mdb and b/Example1/bin/Debug_Ubuntu/example1.exe.mdb differ
diff --git a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll
index c0b1212e..58f0052b 100755
Binary files a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll and b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll differ
diff --git a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll.mdb b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll.mdb
index 2a1a234f..77047401 100644
Binary files a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll.mdb and b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll.mdb differ
diff --git a/Example1/bin/Release/example1.exe b/Example1/bin/Release/example1.exe
index 23fc8112..a472a265 100755
Binary files a/Example1/bin/Release/example1.exe and b/Example1/bin/Release/example1.exe differ
diff --git a/Example1/bin/Release/websocket-sharp.dll b/Example1/bin/Release/websocket-sharp.dll
index 82be0547..b0dae019 100755
Binary files a/Example1/bin/Release/websocket-sharp.dll and b/Example1/bin/Release/websocket-sharp.dll differ
diff --git a/Example1/bin/Release_Ubuntu/example1.exe b/Example1/bin/Release_Ubuntu/example1.exe
index 105456f5..0a731e85 100755
Binary files a/Example1/bin/Release_Ubuntu/example1.exe and b/Example1/bin/Release_Ubuntu/example1.exe differ
diff --git a/Example1/bin/Release_Ubuntu/websocket-sharp.dll b/Example1/bin/Release_Ubuntu/websocket-sharp.dll
index 32c7c8b9..25a32dc9 100755
Binary files a/Example1/bin/Release_Ubuntu/websocket-sharp.dll and b/Example1/bin/Release_Ubuntu/websocket-sharp.dll differ
diff --git a/Example2/Example2.pidb b/Example2/Example2.pidb
index b7225fcd..5ce8a32a 100644
Binary files a/Example2/Example2.pidb and b/Example2/Example2.pidb differ
diff --git a/Example2/Program.cs b/Example2/Program.cs
index 8275fcd9..ab4e704c 100644
--- a/Example2/Program.cs
+++ b/Example2/Program.cs
@@ -32,10 +32,10 @@ namespace Example2
var wssv = new WebSocketServer(4649);
//var wssv = new WebSocketServer("ws://localhost:4649");
//wssv.Sweeped = false; // Stop the Sweep inactive session Timer.
- wssv.AddService
- Documentation for this section has not yet been entered.
-
+ /// <?xml version="1.0" encoding="utf-8"?>
+ /// <configuration>
+ /// <appSettings>
+ /// <add key="RootPath" value="./Public" />
+ /// </appSettings>
+ /// </configuration>
+ ///
+ ///
+ <?xml version="1.0" encoding="utf-8"?>
+ <configuration>
+ <appSettings>
+ <add key="RootPath" value="./Public" />
+ </appSettings>
+ </configuration>
+
+ HttpStatusCode Enum
| - Documentation for this section has not yet been entered. + Equivalent to status code 202. Indicates that the client's request has been accepted for processing, + but the processing has not been completed. |
|
- Documentation for this section has not yet been entered.
+ + Equivalent to status code 300. Indicates that the requested resource corresponds to + any one of multiple representations. + ++ Ambiguous is a synonym for MultipleChoices. + |
| - Documentation for this section has not yet been entered. + Equivalent to status code 502. Indicates that a gateway or proxy server received an invalid response + from the upstream server. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 400. Indicates that the client's request could not be understood + by the server due to malformed syntax. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 409. Indicates that the client's request could not be completed + due to a conflict on the server. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 100. Indicates that the client should continue with its request. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 201. Indicates that the client's request has been fulfilled + and resulted in a new resource being created. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 417. Indicates that the expectation given in an Expect request header field + could not be met by the server. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 403. Indicates that the server understood the client's request + but is refusing to fulfill it. |
|
- Documentation for this section has not yet been entered.
+ + Equivalent to status code 302. Indicates that the requested resource is located temporarily + under a different URI. + ++ Found is a synonym for Redirect. + |
| - Documentation for this section has not yet been entered. + 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. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 410. Indicates that the requested resource is no longer available + at the server and no forwarding address is known. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 505. Indicates that the server does not support the HTTP version + used in the client's request. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 500. Indicates that the server encountered an unexpected condition + which prevented it from fulfilling the client's request. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 411. Indicates that the server refuses to accept the client's request + without a defined Content-Length. |
| - Documentation for this section has not yet been entered. + 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. |
|
- Documentation for this section has not yet been entered.
+ + 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. + ++ Moved is a synonym for MovedPermanently. + |
|
- Documentation for this section has not yet been entered.
+ + 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. + ++ MovedPermanently is a synonym for Moved. + |
|
- Documentation for this section has not yet been entered.
+ + Equivalent to status code 300. Indicates that the requested resource corresponds to + any one of multiple representations. + ++ MultipleChoices is a synonym for Ambiguous. + |
| - Documentation for this section has not yet been entered. + Equivalent to status code 204. Indicates that the server has fulfilled the client's request + but does not need to return an entity-body. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 203. Indicates that the returned metainformation is from a local or a third-party copy instead of the origin server. |
| - Documentation for this section has not yet been entered. + 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. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 404. Indicates that the server has not found anything + matching the request URI. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 501. Indicates that the server does not support the functionality + required to fulfill the client's request. |
| - Documentation for this section has not yet been entered. + 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. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 200. Indicates that the client's request has succeeded. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 206. Indicates that the server has fulfilled the partial GET request for the resource. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 402. This code is reserved for future use. |
| - Documentation for this section has not yet been entered. + 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. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 407. Indicates that the client must first authenticate itself with the proxy. |
|
- Documentation for this section has not yet been entered.
+ + Equivalent to status code 302. Indicates that the requested resource is located temporarily + under a different URI. + ++ Redirect is a synonym for Found. + |
|
- Documentation for this section has not yet been entered.
+ + Equivalent to status code 307. Indicates that the requested resource is located temporarily + under a different URI. + ++ RedirectKeepVerb is a synonym for TemporaryRedirect. + |
|
- Documentation for this section has not yet been entered.
+ + 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. + ++ RedirectMethod is a synonym for SeeOther. + |
| - Documentation for this section has not yet been entered. + 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. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 413. Indicates that the client's request entity is larger + than the server is willing or able to process. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 408. Indicates that the client did not produce a request + within the time that the server was prepared to wait. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 414. Indicates that the request URI is longer + than the server is willing to interpret. |
| - Documentation for this section has not yet been entered. + 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. |
|
- Documentation for this section has not yet been entered.
+ + 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. + ++ SeeOther is a synonym for RedirectMethod. + |
| - Documentation for this section has not yet been entered. + 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. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 101. Indicates that the server is switching the HTTP version or protocol on the connection. |
|
- Documentation for this section has not yet been entered.
+ + Equivalent to status code 307. Indicates that the requested resource is located temporarily + under a different URI. + ++ TemporaryRedirect is a synonym for RedirectKeepVerb. + |
| - Documentation for this section has not yet been entered. + Equivalent to status code 401. Indicates that the client's request requires user authentication. |
| - Documentation for this section has not yet been entered. + 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. |
| - Documentation for this section has not yet been entered. + 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. |
| - Documentation for this section has not yet been entered. + Equivalent to status code 305. Indicates that the requested resource must be accessed + through the proxy given by the Location field. |
- Documentation for this section has not yet been entered. -
+ Provides the HTTP version numbers. +- Documentation for this section has not yet been entered. -
+ Initializes a new instance of the WebSocketSharp.Net.HttpVersion class. +Syntax
public HttpVersion ()Remarks
@@ -338,8 +342,8 @@Version10 Field
- Documentation for this section has not yet been entered. -
+ Provides a Version instance for HTTP 1.0. +Syntax
public static readonly Version Version10Remarks
@@ -354,8 +358,8 @@Version11 Field
- Documentation for this section has not yet been entered. -
+ Provides a Version instance for HTTP 1.1. +Syntax
public static readonly Version Version11Remarks
diff --git a/websocket-sharp/doc/html/WebSocketSharp.Net/index.html b/websocket-sharp/doc/html/WebSocketSharp.Net/index.html index a8de8d25..77a44458 100644 --- a/websocket-sharp/doc/html/WebSocketSharp.Net/index.html +++ b/websocket-sharp/doc/html/WebSocketSharp.Net/index.html @@ -295,16 +295,16 @@ HttpStatusCode- Documentation for this section has not yet been entered. - + Contains the values of the HTTP status codes. +HttpVersion - Documentation for this section has not yet been entered. - + Provides the HTTP version numbers. +diff --git a/websocket-sharp/doc/html/WebSocketSharp.Server/HttpServer.html b/websocket-sharp/doc/html/WebSocketSharp.Server/HttpServer.html index 1298496c..9b9816ae 100644 --- a/websocket-sharp/doc/html/WebSocketSharp.Server/HttpServer.html +++ b/websocket-sharp/doc/html/WebSocketSharp.Server/HttpServer.html @@ -207,8 +207,8 @@ HttpServer Class
- Documentation for this section has not yet been entered. -
+ Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests. +Syntax
public class HttpServer@@ -216,7 +216,35 @@Remarks
- Documentation for this section has not yet been entered. ++ The HttpServer class provides the multi WebSocket service. +
++
+ The HttpServer class needs the application configuration file to configure the server root path. +
++
++ ++ + xml Example + + ++ ++ ++ <?xml version="1.0" encoding="utf-8"?> + <configuration> + <appSettings> + <add key="RootPath" value="./Public" /> + </appSettings> + </configuration> ++Requirements
@@ -243,8 +271,9 @@ ()- Documentation for this section has not yet been entered. - + Initializes a new instance of the WebSocketSharp.Server.HttpServer class that listens for incoming requests + on port 80. +@@ -278,7 +308,9 @@ @@ -258,8 +287,9 @@ (int) - Documentation for this section has not yet been entered. - + Initializes a new instance of the WebSocketSharp.Server.HttpServer class that listens for incoming requests + on the specified port. +int - . Documentation for this section has not yet been entered. + . + Gets the port on which to listen for incoming requests. +[read-only] @@ -290,7 +322,9 @@IEnumerable<string> - . Documentation for this section has not yet been entered. + . + Gets the collection of paths associated with the every WebSocket services that the server provides. +@@ -321,8 +357,10 @@ @@ -305,7 +339,9 @@ bool - . Documentation for this section has not yet been entered. + . + Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically. +- AddService<T> - (string) + AddWebSocketService<T> + (string)Documentation for this section has not yet been entered.+ Adds the specified type WebSocket service. +@@ -332,7 +370,9 @@ GetFile - (string) + (string): byte[] Documentation for this section has not yet been entered.: byte[] + Gets the contents of the specified file. +@@ -342,7 +382,9 @@ Start - () + ()Documentation for this section has not yet been entered.+ Starts to receive incoming requests. +@@ -368,12 +412,12 @@ @@ -352,7 +394,9 @@ Stop - () + ()Documentation for this section has not yet been entered.+ Stops receiving incoming requests. +- OnConnect + OnError - Documentation for this section has not yet been entered. - + Occurs when the server gets an error. +@@ -382,12 +426,12 @@ - OnDelete + OnResponseToConnect - Documentation for this section has not yet been entered. - + Occurs when the server receives an HTTP CONNECT request. +@@ -396,12 +440,12 @@ - OnError + OnResponseToDelete - Documentation for this section has not yet been entered. - + Occurs when the server receives an HTTP DELETE request. +@@ -410,12 +454,12 @@ - OnGet + OnResponseToGet - Documentation for this section has not yet been entered. - + Occurs when the server receives an HTTP GET request. +@@ -424,12 +468,12 @@ - OnHead + OnResponseToHead - Documentation for this section has not yet been entered. - + Occurs when the server receives an HTTP HEAD request. +@@ -438,12 +482,12 @@ - OnOptions + OnResponseToOptions - Documentation for this section has not yet been entered. - + Occurs when the server receives an HTTP OPTIONS request. +@@ -452,12 +496,12 @@ - OnPatch + OnResponseToPatch - Documentation for this section has not yet been entered. - + Occurs when the server receives an HTTP PATCH request. +@@ -466,12 +510,12 @@ - OnPost + OnResponseToPost - Documentation for this section has not yet been entered. - + Occurs when the server receives an HTTP POST request. +@@ -480,12 +524,12 @@ - OnPut + OnResponseToPut - Documentation for this section has not yet been entered. - + Occurs when the server receives an HTTP PUT request. +@@ -542,8 +586,9 @@ @@ -494,12 +538,12 @@ - OnTrace + OnResponseToTrace - Documentation for this section has not yet been entered. - + Occurs when the server receives an HTTP TRACE request. +HttpServer Constructor
-- Documentation for this section has not yet been entered. -
+ Initializes a new instance of the WebSocketSharp.Server.HttpServer class that listens for incoming requests + on port 80. +Syntax
public HttpServer ()Remarks
@@ -558,8 +603,9 @@HttpServer Constructor
- Documentation for this section has not yet been entered. -
+ Initializes a new instance of the WebSocketSharp.Server.HttpServer class that listens for incoming requests + on the specified port. +Syntax
public HttpServer (int port)Parameters
@@ -569,8 +615,8 @@ port- Documentation for this section has not yet been entered. - + An int that contains a port number. +Remarks
@@ -582,49 +628,49 @@ Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
AddService<T> Generic Method
-+AddWebSocketService<T> Generic Method
+- Documentation for this section has not yet been entered. -
+ Adds the specified type WebSocket service. +Syntax
- +public void AddWebSocketService<T> (string absPath)
where T : WebSocketSharp.Server.WebSocketService, new()Type Parameters
-+
- T
- - Documentation for this section has not yet been entered. -
+ The type of the WebSocket service. The T must inherit the WebSocketSharp.Server.WebSocketService class. +Parameters
-+
- absPath
- - Documentation for this section has not yet been entered. -
+ A string that contains an absolute path associated with the WebSocket service. +Remarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
GetFile Method
- Documentation for this section has not yet been entered. -
+ Gets the contents of the specified file. +Syntax
Parameters
@@ -634,14 +680,14 @@ path- Documentation for this section has not yet been entered. - + A string that contains a virtual path to the file to get. +Returns
- Documentation for this section has not yet been entered. -+ An array of byte that contains the contents of the file. +Remarks
Documentation for this section has not yet been entered. @@ -651,177 +697,177 @@ Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
-OnConnect Event
-+OnError Event
+- Documentation for this section has not yet been entered. -
+ Occurs when the server gets an error. +Syntax
-public event EventHandler<ResponseEventArgs> OnConnect+public event EventHandler<WebSocketSharp.ErrorEventArgs> OnErrorRemarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
-OnDelete Event
-+OnResponseToConnect Event
+- Documentation for this section has not yet been entered. -
+ Occurs when the server receives an HTTP CONNECT request. +Syntax
-public event EventHandler<ResponseEventArgs> OnDelete+public event EventHandler<ResponseEventArgs> OnResponseToConnectRemarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
-OnError Event
-+OnResponseToDelete Event
+- Documentation for this section has not yet been entered. -
+ Occurs when the server receives an HTTP DELETE request. +Syntax
-public event EventHandler<WebSocketSharp.ErrorEventArgs> OnError+public event EventHandler<ResponseEventArgs> OnResponseToDeleteRemarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
-OnGet Event
-+OnResponseToGet Event
+- Documentation for this section has not yet been entered. -
+ Occurs when the server receives an HTTP GET request. +Syntax
-public event EventHandler<ResponseEventArgs> OnGet+public event EventHandler<ResponseEventArgs> OnResponseToGetRemarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
-OnHead Event
-+OnResponseToHead Event
+- Documentation for this section has not yet been entered. -
+ Occurs when the server receives an HTTP HEAD request. +Syntax
-public event EventHandler<ResponseEventArgs> OnHead+public event EventHandler<ResponseEventArgs> OnResponseToHeadRemarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
-OnOptions Event
-+OnResponseToOptions Event
+- Documentation for this section has not yet been entered. -
+ Occurs when the server receives an HTTP OPTIONS request. +Syntax
-public event EventHandler<ResponseEventArgs> OnOptions+public event EventHandler<ResponseEventArgs> OnResponseToOptionsRemarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
-OnPatch Event
-+OnResponseToPatch Event
+- Documentation for this section has not yet been entered. -
+ Occurs when the server receives an HTTP PATCH request. +Syntax
-public event EventHandler<ResponseEventArgs> OnPatch+public event EventHandler<ResponseEventArgs> OnResponseToPatchRemarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
-OnPost Event
-+OnResponseToPost Event
+- Documentation for this section has not yet been entered. -
+ Occurs when the server receives an HTTP POST request. +Syntax
-public event EventHandler<ResponseEventArgs> OnPost+public event EventHandler<ResponseEventArgs> OnResponseToPostRemarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
-OnPut Event
-+OnResponseToPut Event
+- Documentation for this section has not yet been entered. -
+ Occurs when the server receives an HTTP PUT request. +Syntax
-public event EventHandler<ResponseEventArgs> OnPut+public event EventHandler<ResponseEventArgs> OnResponseToPutRemarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
-OnTrace Event
-+OnResponseToTrace Event
+- Documentation for this section has not yet been entered. -
+ Occurs when the server receives an HTTP TRACE request. +Syntax
-public event EventHandler<ResponseEventArgs> OnTrace+public event EventHandler<ResponseEventArgs> OnResponseToTraceRemarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
Port Property
- Documentation for this section has not yet been entered. -
+ Gets the port on which to listen for incoming requests. +Syntax
public int Port { get; }Value
- Documentation for this section has not yet been entered. -+ An int that contains a port number. +Remarks
Documentation for this section has not yet been entered. @@ -834,14 +880,14 @@ServicePaths Property
- Documentation for this section has not yet been entered. -
+ Gets the collection of paths associated with the every WebSocket services that the server provides. +Syntax
public IEnumerable<string> ServicePaths { get; }Value
- Documentation for this section has not yet been entered. -+ An IEnumerable<string> that contains the collection of paths. +Remarks
Documentation for this section has not yet been entered. @@ -854,8 +900,8 @@Start Method
- Documentation for this section has not yet been entered. -
+ Starts to receive incoming requests. +Syntax
public void Start ()Remarks
@@ -870,8 +916,8 @@Stop Method
- Documentation for this section has not yet been entered. -
+ Stops receiving incoming requests. +Syntax
public void Stop ()Remarks
@@ -886,14 +932,15 @@Sweeped Property
- Documentation for this section has not yet been entered. -
+ Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically. +Syntax
public bool Sweeped { get; set; }Value
- Documentation for this section has not yet been entered. -+ true if the server cleans up the inactive WebSocket service instances every 60 seconds; + otherwise, false. The default value is true. +Remarks
Documentation for this section has not yet been entered. diff --git a/websocket-sharp/doc/html/WebSocketSharp.Server/ResponseEventArgs.html b/websocket-sharp/doc/html/WebSocketSharp.Server/ResponseEventArgs.html index fb639039..25fc4a5e 100644 --- a/websocket-sharp/doc/html/WebSocketSharp.Server/ResponseEventArgs.html +++ b/websocket-sharp/doc/html/WebSocketSharp.Server/ResponseEventArgs.html @@ -207,8 +207,8 @@ResponseEventArgs Class
- Documentation for this section has not yet been entered. -
+ Contains the event data associated with the response events of the WebSocketSharp.Server.HttpServer class. +Syntax
public class ResponseEventArgs : EventArgs@@ -216,8 +216,10 @@Remarks
- Documentation for this section has not yet been entered. -+ A response event occurs when a WebSocketSharp.Server.HttpServer instance receives an HTTP request. + If you want to get the HTTP request objects, you should access the ResponseEventArgs.Request property. + If you want to get the HTTP response objects to send, you should access the ResponseEventArgs.Response property. +Requirements
Namespace: WebSocketSharp.Server@@ -227,28 +229,6 @@ See Also: Inherited members from EventArgs. -
Assembly: websocket-sharp (in websocket-sharp.dll)Public Constructors
-----
-- -- ---- - -- Documentation for this section has not yet been entered. - -Public Properties
@@ -263,7 +243,9 @@@@ -315,44 +299,17 @@WebSocketSharp.Net.HttpListenerRequest - . Documentation for this section has not yet been entered. + . + Gets the HTTP request objects sent from a client. +[read-only] @@ -275,7 +257,9 @@WebSocketSharp.Net.HttpListenerResponse - . Documentation for this section has not yet been entered. + . + Gets the HTTP response objects to send to the client in response to the client's request. +Member Details
-ResponseEventArgs Constructor
--- Documentation for this section has not yet been entered. -
-Syntax
-public ResponseEventArgs (WebSocketSharp.Net.HttpListenerContext context)-Parameters
----
-- - context -
-- - Documentation for this section has not yet been entered. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-Request Property
- Documentation for this section has not yet been entered. -
+ Gets the HTTP request objects sent from a client. +Syntax
public WebSocketSharp.Net.HttpListenerRequest Request { get; }Value
- Documentation for this section has not yet been entered. -+ A WebSocketSharp.Net.HttpListenerRequest that contains the HTTP request objects. +Remarks
Documentation for this section has not yet been entered. @@ -365,14 +322,14 @@Response Property
- Documentation for this section has not yet been entered. -
+ Gets the HTTP response objects to send to the client in response to the client's request. +Syntax
public WebSocketSharp.Net.HttpListenerResponse Response { get; }Value
- Documentation for this section has not yet been entered. -+ A WebSocketSharp.Net.HttpListenerResponse that contains the HTTP response objects. +Remarks
Documentation for this section has not yet been entered. diff --git a/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServer.html b/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServer.html index 32e2604e..339a2746 100644 --- a/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServer.html +++ b/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServer.html @@ -458,9 +458,9 @@- AddService<T> + AddWebSocketService<T> (string) - Adds a WebSocket service. + Adds the specified type WebSocket service.@@ -569,7 +569,7 @@ @@ -817,15 +817,15 @@ Namespace: WebSocketSharp.Server- Occurs when this server gets an error. + Occurs when the server gets an error. (Inherited from WebSocketServerBase.)
Assembly: websocket-sharp (in websocket-sharp.dll)
-AddService<T> Generic Method
-+AddWebSocketService<T> Generic Method
+- Adds a WebSocket service. + Adds the specified type WebSocket service.
Syntax
- +public void AddWebSocketService<T> (string absPath)
where T : WebSocketSharp.Server.WebSocketService, new()Type Parameters
-+
- T @@ -836,7 +836,7 @@
Parameters
-+
- absPath @@ -847,11 +847,11 @@
Remarks
-+Documentation for this section has not yet been entered.Requirements
-+Namespace: WebSocketSharp.Server
Assembly: websocket-sharp (in websocket-sharp.dll)
@@ -928,6 +928,7 @@Value
true if the server cleans up the inactive clients every 60 seconds; otherwise, false. + The default value is true.Remarks
diff --git a/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServerBase.html b/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServerBase.html index 44b518e2..f2bfcf86 100644 --- a/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServerBase.html +++ b/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServerBase.html @@ -444,7 +444,7 @@- Occurs when this server gets an error. + Occurs when the server gets an error. @@ -770,7 +770,7 @@OnError Event
- Occurs when this server gets an error. + Occurs when the server gets an error.
Syntax
public event EventHandler<WebSocketSharp.ErrorEventArgs> OnErrordiff --git a/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServiceHost`1.html b/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServiceHost`1.html index 95ebc3b7..bc12bd36 100644 --- a/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServiceHost`1.html +++ b/websocket-sharp/doc/html/WebSocketSharp.Server/WebSocketServiceHost`1.html @@ -372,7 +372,7 @@ System.Net.IPAddress . - 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. (Inherited from WebSocketServerBase.)@@ -386,7 +386,7 @@ bool . - Gets a value indicating whether this server provides secure connection. + Gets a value indicating whether the server provides secure connection. (Inherited from WebSocketServerBase.) @@ -400,7 +400,7 @@ bool . - Gets a value indicating whether this server is self host. + Gets a value indicating whether the server is self host. (Inherited from WebSocketServerBase.) @@ -597,7 +597,7 @@ @@ -1021,6 +1021,7 @@- Occurs when this server gets an error. + Occurs when the server gets an error. (Inherited from WebSocketServerBase.) Value
true if the server cleans up the inactive clients every 60 seconds; otherwise, false. + The default value is true.Remarks
diff --git a/websocket-sharp/doc/html/WebSocketSharp.Server/index.html b/websocket-sharp/doc/html/WebSocketSharp.Server/index.html index ba1d55b3..4cd86c47 100644 --- a/websocket-sharp/doc/html/WebSocketSharp.Server/index.html +++ b/websocket-sharp/doc/html/WebSocketSharp.Server/index.html @@ -207,8 +207,8 @@ HttpServer- Documentation for this section has not yet been entered. - + Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests. +@@ -223,8 +223,8 @@ ResponseEventArgs - Documentation for this section has not yet been entered. - + Contains the event data associated with the response events of the WebSocketSharp.Server.HttpServer class. +diff --git a/websocket-sharp/doc/html/WebSocketSharp/Ext.html b/websocket-sharp/doc/html/WebSocketSharp/Ext.html index 82ce2f84..0101c943 100644 --- a/websocket-sharp/doc/html/WebSocketSharp/Ext.html +++ b/websocket-sharp/doc/html/WebSocketSharp/Ext.html @@ -328,7 +328,7 @@ GetDescription (this WebSocketSharp.Net.HttpStatusCode) : string - Gets the description of the HTTP status code using the specified code. + Gets the description of the HTTP status code using the specified WebSocketSharp.Net.HttpStatusCode.@@ -361,7 +361,7 @@ GetStatusDescription (this int) : string - Gets the description of the HTTP status code using the specified code. + Gets the description of the HTTP status code using the specified int.@@ -1089,7 +1089,7 @@ GetDescription Method
- Gets the description of the HTTP status code using the specified code. + Gets the description of the HTTP status code using the specified WebSocketSharp.Net.HttpStatusCode.
Syntax
public static string GetDescription (this WebSocketSharp.Net.HttpStatusCode code)@@ -1100,13 +1100,13 @@ code- One of WebSocketSharp.Net.HttpStatusCode values that contains the HTTP status code. + One of WebSocketSharp.Net.HttpStatusCode values that contains an HTTP status code. Returns
- A string that contains the description of the code. + A string that contains the description of the HTTP status code.Remarks
@@ -1194,7 +1194,7 @@GetStatusDescription Method
- Gets the description of the HTTP status code using the specified code. + Gets the description of the HTTP status code using the specified int.
Syntax
@@ -1205,13 +1205,13 @@ code- An int that contains the HTTP status code. + An int that contains an HTTP status code. Returns
- A string that contains the description of the code. + A string that contains the description of the HTTP status code.Remarks
diff --git a/websocket-sharp/doc/html/index.html b/websocket-sharp/doc/html/index.html index d8bbfda0..795907d4 100644 --- a/websocket-sharp/doc/html/index.html +++ b/websocket-sharp/doc/html/index.html @@ -387,16 +387,16 @@ HttpStatusCode- Documentation for this section has not yet been entered. - + Contains the values of the HTTP status codes. +HttpVersion - Documentation for this section has not yet been entered. - + Provides the HTTP version numbers. +@@ -455,8 +455,8 @@ HttpServer - Documentation for this section has not yet been entered. - + Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests. +@@ -471,8 +471,8 @@ ResponseEventArgs - Documentation for this section has not yet been entered. - + Contains the event data associated with the response events of the WebSocketSharp.Server.HttpServer class. +diff --git a/websocket-sharp/doc/mdoc/WebSocketSharp.Net/HttpStatusCode.xml b/websocket-sharp/doc/mdoc/WebSocketSharp.Net/HttpStatusCode.xml index b06499ea..8c7ad579 100644 --- a/websocket-sharp/doc/mdoc/WebSocketSharp.Net/HttpStatusCode.xml +++ b/websocket-sharp/doc/mdoc/WebSocketSharp.Net/HttpStatusCode.xml @@ -8,8 +8,13 @@ System.Enum - To be added. -To be added. ++ Contains the values of the HTTP status codes. + ++ The HttpStatusCode enumeration contains the values of the HTTP status codes defined in + RFC 2616 for HTTP 1.1. +diff --git a/websocket-sharp/doc/mdoc/WebSocketSharp.Net/HttpVersion.xml b/websocket-sharp/doc/mdoc/WebSocketSharp.Net/HttpVersion.xml index bcdc742f..4ce02876 100644 --- a/websocket-sharp/doc/mdoc/WebSocketSharp.Net/HttpVersion.xml +++ b/websocket-sharp/doc/mdoc/WebSocketSharp.Net/HttpVersion.xml @@ -9,7 +9,9 @@ @@ -20,7 +25,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 202. Indicates that the client's request has been accepted for processing, + but the processing has not been completed. + @@ -31,7 +39,15 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ + Equivalent to status code 300. Indicates that the requested resource corresponds to + any one of multiple representations. + ++ Ambiguous is a synonym for MultipleChoices. + +@@ -42,7 +58,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 502. Indicates that a gateway or proxy server received an invalid response + from the upstream server. + @@ -53,7 +72,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 400. Indicates that the client's request could not be understood + by the server due to malformed syntax. + @@ -64,7 +86,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 409. Indicates that the client's request could not be completed + due to a conflict on the server. + @@ -75,7 +100,9 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 100. Indicates that the client should continue with its request. + @@ -86,7 +113,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 201. Indicates that the client's request has been fulfilled + and resulted in a new resource being created. + @@ -97,7 +127,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 417. Indicates that the expectation given in an Expect request header field + could not be met by the server. + @@ -108,7 +141,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 403. Indicates that the server understood the client's request + but is refusing to fulfill it. + @@ -119,7 +155,15 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ + Equivalent to status code 302. Indicates that the requested resource is located temporarily + under a different URI. + ++ Found is a synonym for Redirect. + +@@ -130,7 +174,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ 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. + @@ -141,7 +188,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 410. Indicates that the requested resource is no longer available + at the server and no forwarding address is known. + @@ -152,7 +202,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 505. Indicates that the server does not support the HTTP version + used in the client's request. + @@ -163,7 +216,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 500. Indicates that the server encountered an unexpected condition + which prevented it from fulfilling the client's request. + @@ -174,7 +230,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 411. Indicates that the server refuses to accept the client's request + without a defined Content-Length. + @@ -185,7 +244,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ 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. + @@ -196,7 +258,15 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ + 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. + ++ Moved is a synonym for MovedPermanently. + +@@ -207,7 +277,15 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ + 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. + ++ MovedPermanently is a synonym for Moved. + +@@ -218,7 +296,15 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ + Equivalent to status code 300. Indicates that the requested resource corresponds to + any one of multiple representations. + ++ MultipleChoices is a synonym for Ambiguous. + +@@ -229,7 +315,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 204. Indicates that the server has fulfilled the client's request + but does not need to return an entity-body. + @@ -240,7 +329,9 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 203. Indicates that the returned metainformation is from a local or a third-party copy instead of the origin server. + @@ -251,7 +342,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ 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. + @@ -262,7 +356,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 404. Indicates that the server has not found anything + matching the request URI. + @@ -273,7 +370,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 501. Indicates that the server does not support the functionality + required to fulfill the client's request. + @@ -284,7 +384,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ 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. + @@ -295,7 +398,9 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 200. Indicates that the client's request has succeeded. + @@ -306,7 +411,9 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 206. Indicates that the server has fulfilled the partial GET request for the resource. + @@ -317,7 +424,9 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 402. This code is reserved for future use. + @@ -328,7 +437,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ 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. + @@ -339,7 +451,9 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 407. Indicates that the client must first authenticate itself with the proxy. + @@ -350,7 +464,15 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ + Equivalent to status code 302. Indicates that the requested resource is located temporarily + under a different URI. + ++ Redirect is a synonym for Found. + +@@ -361,7 +483,15 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ + Equivalent to status code 307. Indicates that the requested resource is located temporarily + under a different URI. + ++ RedirectKeepVerb is a synonym for TemporaryRedirect. + +@@ -372,7 +502,15 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ + 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. + ++ RedirectMethod is a synonym for SeeOther. + +@@ -383,7 +521,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ 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. + @@ -394,7 +535,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 413. Indicates that the client's request entity is larger + than the server is willing or able to process. + @@ -405,7 +549,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 408. Indicates that the client did not produce a request + within the time that the server was prepared to wait. + @@ -416,7 +563,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 414. Indicates that the request URI is longer + than the server is willing to interpret. + @@ -427,7 +577,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ 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. + @@ -438,7 +591,15 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ + 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. + ++ SeeOther is a synonym for RedirectMethod. + +@@ -449,7 +610,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ 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. + @@ -460,7 +624,9 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 101. Indicates that the server is switching the HTTP version or protocol on the connection. + @@ -471,7 +637,15 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ + Equivalent to status code 307. Indicates that the requested resource is located temporarily + under a different URI. + ++ TemporaryRedirect is a synonym for RedirectKeepVerb. + +@@ -482,7 +656,9 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 401. Indicates that the client's request requires user authentication. + @@ -493,7 +669,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ 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. + @@ -504,7 +683,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ 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. + @@ -515,7 +697,10 @@ WebSocketSharp.Net.HttpStatusCode - To be added. ++ Equivalent to status code 305. Indicates that the requested resource must be accessed + through the proxy given by the Location field. + - To be added. ++ Provides the HTTP version numbers. + To be added. @@ -19,7 +21,9 @@ Constructor - @@ -31,7 +35,9 @@To be added. ++ Initializes a new instance of the class. + To be added. System.Version - @@ -43,7 +49,9 @@To be added. ++ Provides a instance for HTTP 1.0. + To be added. System.Version - diff --git a/websocket-sharp/doc/mdoc/WebSocketSharp.Server/HttpServer.xml b/websocket-sharp/doc/mdoc/WebSocketSharp.Server/HttpServer.xml index 1e77029f..5cd450d7 100644 --- a/websocket-sharp/doc/mdoc/WebSocketSharp.Server/HttpServer.xml +++ b/websocket-sharp/doc/mdoc/WebSocketSharp.Server/HttpServer.xml @@ -9,8 +9,35 @@To be added. ++ Provides a instance for HTTP 1.1. + To be added. - To be added. -To be added. ++ Provides the functions of a simple HTTP server that allows to accept the WebSocket connection requests. + ++ ++ The HttpServer class provides the multi WebSocket service. + ++ ++ The HttpServer class needs the application configuration file to configure the server root path. + ++ <?xml version="1.0" encoding="utf-8"?> + <configuration> + <appSettings> + <add key="RootPath" value="./Public" /> + </appSettings> + </configuration> +++ <?xml version="1.0" encoding="utf-8"?> + <configuration> + <appSettings> + <add key="RootPath" value="../../Public" /> + </appSettings> + </configuration> +@@ -19,7 +46,10 @@ @@ -31,14 +61,19 @@Constructor - To be added. ++ Initializes a new instance of the class that listens for incoming requests + on port 80. + To be added. - To be added. - -To be added. + + Anthat contains a port number. + + + Initializes a new instance of the class that listens for incoming requests + on the specified . + To be added. - -- + + @@ -72,129 +113,155 @@+ Method System.Void @@ -55,9 +90,15 @@- To be added. - To be added. -To be added. ++ The type of the WebSocket service. The T must inherit the + + Aclass. + that contains an absolute path associated with the WebSocket service. + + + Adds the specified type WebSocket service. + To be added. - To be added. - To be added. -To be added. + + Athat contains a virtual path to the file to get. + + + Gets the contents of the specified file. + ++ An array of that contains the contents of the file. + To be added. - - + + -+ Event - System.EventHandler<WebSocketSharp.Server.ResponseEventArgs> +System.EventHandler<WebSocketSharp.ErrorEventArgs> - To be added. ++ Occurs when the server gets an error. + To be added. - - + + -+ Event System.EventHandler<WebSocketSharp.Server.ResponseEventArgs> - To be added. ++ Occurs when the server receives an HTTP CONNECT request. + To be added. - - + + -+ Event - System.EventHandler<WebSocketSharp.ErrorEventArgs> +System.EventHandler<WebSocketSharp.Server.ResponseEventArgs> - To be added. ++ Occurs when the server receives an HTTP DELETE request. + To be added. - -- + + -+ Event System.EventHandler<WebSocketSharp.Server.ResponseEventArgs> - To be added. ++ Occurs when the server receives an HTTP GET request. + To be added. - diff --git a/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServer.xml b/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServer.xml index 29e0b8af..a9a2f431 100644 --- a/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServer.xml +++ b/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServer.xml @@ -155,9 +155,9 @@- + + -+ Event System.EventHandler<WebSocketSharp.Server.ResponseEventArgs> - To be added. ++ Occurs when the server receives an HTTP HEAD request. + To be added. - diff --git a/websocket-sharp/doc/mdoc/WebSocketSharp.Server/ResponseEventArgs.xml b/websocket-sharp/doc/mdoc/WebSocketSharp.Server/ResponseEventArgs.xml index 500a8cc4..2f65587b 100644 --- a/websocket-sharp/doc/mdoc/WebSocketSharp.Server/ResponseEventArgs.xml +++ b/websocket-sharp/doc/mdoc/WebSocketSharp.Server/ResponseEventArgs.xml @@ -9,23 +9,16 @@- + + -+ Event System.EventHandler<WebSocketSharp.Server.ResponseEventArgs> - To be added. ++ Occurs when the server receives an HTTP OPTIONS request. + To be added. - @@ -258,8 +337,13 @@- + + -+ Event System.EventHandler<WebSocketSharp.Server.ResponseEventArgs> - To be added. ++ Occurs when the server receives an HTTP PATCH request. + To be added. - @@ -246,7 +323,9 @@- + + -+ Event System.EventHandler<WebSocketSharp.Server.ResponseEventArgs> - To be added. ++ Occurs when the server receives an HTTP POST request. + To be added. - @@ -233,7 +308,9 @@- + + -+ Event System.EventHandler<WebSocketSharp.Server.ResponseEventArgs> - To be added. ++ Occurs when the server receives an HTTP PUT request. + To be added. - @@ -219,8 +290,12 @@- + + @@ -206,8 +273,12 @@+ Event System.EventHandler<WebSocketSharp.Server.ResponseEventArgs> - To be added. ++ Occurs when the server receives an HTTP TRACE request. + To be added. System.Int32 - To be added. -To be added. ++ Gets the port on which to listen for incoming requests. + ++ An that contains a port number. + To be added. System.Collections.Generic.IEnumerable<System.String> - To be added. -To be added. ++ Gets the collection of paths associated with the every WebSocket services that the server provides. + ++ An IEnumerable<string> that contains the collection of paths. + To be added. - To be added. ++ Starts to receive incoming requests. + To be added. - To be added. ++ Stops receiving incoming requests. + To be added. System.Boolean - To be added. -To be added. ++ Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically. + ++ true if the server cleans up the inactive WebSocket service instances every 60 seconds; + otherwise,false . The default value istrue . +To be added. - To be added. -To be added. ++ Contains the event data associated with the response events of the +class. + + A response event occurs when a instance receives an HTTP request. + If you want to get the HTTP request objects, you should access the property. + If you want to get the HTTP response objects to send, you should access the property. + - - - - Constructor -- -- - To be added. - -To be added. -To be added. -@@ -47,8 +44,12 @@ @@ -34,8 +27,12 @@ WebSocketSharp.Net.HttpListenerRequest - To be added. -To be added. ++ Gets the HTTP request objects sent from a client. + ++ A that contains the HTTP request objects. + To be added. WebSocketSharp.Net.HttpListenerResponse - To be added. -To be added. ++ Gets the HTTP response objects to send to the client in response to the client's request. + ++ A that contains the HTTP response objects. + To be added. To be added. - - + + + Method System.Void @@ -181,7 +181,7 @@ Athat contains an absolute path associated with the WebSocket service. - Adds a WebSocket service. + Adds the specified type WebSocket service. To be added. @@ -251,6 +251,7 @@true if the server cleans up the inactive clients every 60 seconds; otherwise,false . + The default value istrue .To be added. diff --git a/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServerBase.xml b/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServerBase.xml index 4375213e..a948dd35 100644 --- a/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServerBase.xml +++ b/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServerBase.xml @@ -214,7 +214,7 @@diff --git a/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServiceHost`1.xml b/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServiceHost`1.xml index ecc0cc85..4ebdf676 100644 --- a/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServiceHost`1.xml +++ b/websocket-sharp/doc/mdoc/WebSocketSharp.Server/WebSocketServiceHost`1.xml @@ -286,6 +286,7 @@ - Occurs when this server gets an error. + Occurs when the server gets an error. To be added. true if the server cleans up the inactive clients every 60 seconds; otherwise,false . + The default value istrue .To be added. diff --git a/websocket-sharp/doc/mdoc/WebSocketSharp/Ext.xml b/websocket-sharp/doc/mdoc/WebSocketSharp/Ext.xml index ee90615f..3bd86804 100644 --- a/websocket-sharp/doc/mdoc/WebSocketSharp/Ext.xml +++ b/websocket-sharp/doc/mdoc/WebSocketSharp/Ext.xml @@ -270,13 +270,13 @@- One of @@ -347,13 +347,13 @@values that contains the HTTP status code. + One of values that contains an HTTP status code. - Gets the description of the HTTP status code using the specified code. + Gets the description of the HTTP status code using the specified . - A that contains the description of the . + A that contains the description of the HTTP status code. To be added. - An diff --git a/websocket-sharp/doc/mdoc/index.xml b/websocket-sharp/doc/mdoc/index.xml index 997fa902..8267cddc 100644 --- a/websocket-sharp/doc/mdoc/index.xml +++ b/websocket-sharp/doc/mdoc/index.xml @@ -1,6 +1,6 @@that contains the HTTP status code. + An that contains an HTTP status code. - Gets the description of the HTTP status code using the specified code. + Gets the description of the HTTP status code using the specified . - A that contains the description of the . + A that contains the description of the HTTP status code. To be added. - + [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 ] @@ -354,10 +354,10 @@ - One of @@ -437,10 +437,10 @@values that contains the HTTP status code. + One of values that contains an HTTP status code. - Gets the description of the HTTP status code using the specified code. + Gets the description of the HTTP status code using the specified . - An diff --git a/websocket-sharp/websocket-sharp.pidb b/websocket-sharp/websocket-sharp.pidb index 0064f8bc..8aba8585 100644 Binary files a/websocket-sharp/websocket-sharp.pidb and b/websocket-sharp/websocket-sharp.pidb differthat contains the HTTP status code. + An that contains an HTTP status code. - Gets the description of the HTTP status code using the specified code. + Gets the description of the HTTP status code using the specified .