diff --git a/.gitignore b/.gitignore
index 342d5044..a31355f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
-## Ignore MonoDevelop temporary files.
+## Ignore MonoDevelop build results and temporary files.
+bin
*.mdb
*.pidb
diff --git a/Example/bin/Debug/example.exe b/Example/bin/Debug/example.exe
deleted file mode 100755
index c68da2e6..00000000
Binary files a/Example/bin/Debug/example.exe and /dev/null differ
diff --git a/Example/bin/Debug/websocket-sharp.dll b/Example/bin/Debug/websocket-sharp.dll
deleted file mode 100755
index 91ce13ec..00000000
Binary files a/Example/bin/Debug/websocket-sharp.dll and /dev/null differ
diff --git a/Example/bin/Debug_Ubuntu/example.exe b/Example/bin/Debug_Ubuntu/example.exe
deleted file mode 100755
index b5d9763f..00000000
Binary files a/Example/bin/Debug_Ubuntu/example.exe and /dev/null differ
diff --git a/Example/bin/Debug_Ubuntu/websocket-sharp.dll b/Example/bin/Debug_Ubuntu/websocket-sharp.dll
deleted file mode 100755
index 0e13d30d..00000000
Binary files a/Example/bin/Debug_Ubuntu/websocket-sharp.dll and /dev/null differ
diff --git a/Example/bin/Release/example.exe b/Example/bin/Release/example.exe
deleted file mode 100755
index ec050864..00000000
Binary files a/Example/bin/Release/example.exe and /dev/null differ
diff --git a/Example/bin/Release/websocket-sharp.dll b/Example/bin/Release/websocket-sharp.dll
deleted file mode 100755
index 6f9c4bc5..00000000
Binary files a/Example/bin/Release/websocket-sharp.dll and /dev/null differ
diff --git a/Example/bin/Release_Ubuntu/example.exe b/Example/bin/Release_Ubuntu/example.exe
deleted file mode 100755
index 67fae3d4..00000000
Binary files a/Example/bin/Release_Ubuntu/example.exe and /dev/null differ
diff --git a/Example/bin/Release_Ubuntu/websocket-sharp.dll b/Example/bin/Release_Ubuntu/websocket-sharp.dll
deleted file mode 100755
index 8a8b6453..00000000
Binary files a/Example/bin/Release_Ubuntu/websocket-sharp.dll and /dev/null differ
diff --git a/Example1/bin/Debug/example1.exe b/Example1/bin/Debug/example1.exe
deleted file mode 100755
index 4caf51b9..00000000
Binary files a/Example1/bin/Debug/example1.exe and /dev/null differ
diff --git a/Example1/bin/Debug/websocket-sharp.dll b/Example1/bin/Debug/websocket-sharp.dll
deleted file mode 100755
index 91ce13ec..00000000
Binary files a/Example1/bin/Debug/websocket-sharp.dll and /dev/null differ
diff --git a/Example1/bin/Debug_Ubuntu/example1.exe b/Example1/bin/Debug_Ubuntu/example1.exe
deleted file mode 100755
index b95c663c..00000000
Binary files a/Example1/bin/Debug_Ubuntu/example1.exe and /dev/null differ
diff --git a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll b/Example1/bin/Debug_Ubuntu/websocket-sharp.dll
deleted file mode 100755
index 0e13d30d..00000000
Binary files a/Example1/bin/Debug_Ubuntu/websocket-sharp.dll and /dev/null differ
diff --git a/Example1/bin/Release/example1.exe b/Example1/bin/Release/example1.exe
deleted file mode 100755
index 6afc86d4..00000000
Binary files a/Example1/bin/Release/example1.exe and /dev/null differ
diff --git a/Example1/bin/Release/websocket-sharp.dll b/Example1/bin/Release/websocket-sharp.dll
deleted file mode 100755
index 6f9c4bc5..00000000
Binary files a/Example1/bin/Release/websocket-sharp.dll and /dev/null differ
diff --git a/Example1/bin/Release_Ubuntu/example1.exe b/Example1/bin/Release_Ubuntu/example1.exe
deleted file mode 100755
index 4183027d..00000000
Binary files a/Example1/bin/Release_Ubuntu/example1.exe and /dev/null differ
diff --git a/Example1/bin/Release_Ubuntu/websocket-sharp.dll b/Example1/bin/Release_Ubuntu/websocket-sharp.dll
deleted file mode 100755
index 8a8b6453..00000000
Binary files a/Example1/bin/Release_Ubuntu/websocket-sharp.dll and /dev/null differ
diff --git a/Example2/bin/Debug/example2.exe b/Example2/bin/Debug/example2.exe
deleted file mode 100755
index 1e60f8d6..00000000
Binary files a/Example2/bin/Debug/example2.exe and /dev/null differ
diff --git a/Example2/bin/Debug/example2.exe.config b/Example2/bin/Debug/example2.exe.config
deleted file mode 100644
index 84bc00fa..00000000
--- a/Example2/bin/Debug/example2.exe.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <appSettings>
- <add key="RootPath" value="./Public" />
- </appSettings>
- </configuration>
-
-
- Provides access to the WebSocket connection request objects received by the WebSocketSharp.Net.HttpListener class. -
-- See Also: Inherited members from - WebSocketContext. -
-[read-only] override |
- - - CookieCollection - - | -- - WebSocketSharp.Net.CookieCollection - . - Gets the cookies used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - CookieCollection - - | -- - WebSocketSharp.Net.CookieCollection - . - Gets the cookies used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - Headers - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the HTTP headers used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - Headers - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the HTTP headers used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - IsAuthenticated - - | -- - bool - . - Gets a value indicating whether the client is authenticated. - | -
[read-only] abstract |
- - - IsAuthenticated - - | -- - bool - . - Gets a value indicating whether the client is authenticated. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - IsLocal - - | -- - bool - . - Gets a value indicating whether the client connected from the local computer. - | -
[read-only] abstract |
- - - IsLocal - - | -- - bool - . - Gets a value indicating whether the client connected from the local computer. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - IsSecureConnection - - | -- - bool - . - Gets a value indicating whether the WebSocket connection is secured. - | -
[read-only] abstract |
- - - IsSecureConnection - - | -- - bool - . - Gets a value indicating whether the WebSocket connection is secured. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - IsValid - - | -- - bool - . - Gets a value indicating whether the WebSocket connection request is valid. - | -
[read-only] abstract |
- - - IsValid - - | -- - bool - . - Gets a value indicating whether the WebSocket connection request is valid. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - Origin - - | -- - string - . - Gets the value of the Origin header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - Origin - - | -- - string - . - Gets the value of the Origin header field used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - Path - - | -- - string - . - Gets the absolute path of the requested WebSocket URI. - | -
[read-only] abstract |
- - - Path - - | -- - string - . - Gets the absolute path of the requested WebSocket URI. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - QueryString - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the collection of query string variables used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - QueryString - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the collection of query string variables used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - RequestUri - - | -- - Uri - . - Gets the WebSocket URI requested by the client. - | -
[read-only] abstract |
- - - RequestUri - - | -- - Uri - . - Gets the WebSocket URI requested by the client. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - SecWebSocketKey - - | -- - string - . - Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - SecWebSocketKey - - | -- - string - . - Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - SecWebSocketProtocols - - | -- - IEnumerable<string> - . - Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - SecWebSocketProtocols - - | -- - IEnumerable<string> - . - Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - SecWebSocketVersion - - | -- - string - . - Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - SecWebSocketVersion - - | -- - string - . - Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] | -- - ServerEndPoint - - | -- - System.Net.IPEndPoint - . - Gets the server endpoint as an IP address and a port number. - | -
[read-only] override |
- - - User - - | -- - System.Security.Principal.IPrincipal - . - Gets the client information (identity, authentication information and security roles). - | -
[read-only] abstract |
- - - User - - | -- - System.Security.Principal.IPrincipal - . - Gets the client information (identity, authentication information and security roles). - (Inherited from WebSocketContext.) | -
[read-only] | -- - UserEndPoint - - | -- - System.Net.IPEndPoint - . - Gets the client endpoint as an IP address and a port number. - | -
[read-only] override |
- - - WebSocket - - | -- - WebSocketSharp.WebSocket - . - Gets the WebSocket instance used for two-way communication between client and server. - | -
[read-only] abstract |
- - - WebSocket - - | -- - WebSocketSharp.WebSocket - . - Gets the WebSocket instance used for two-way communication between client and server. - (Inherited from WebSocketContext.) | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Gets the cookies used in the WebSocket opening handshake. -
-Syntax
-public override WebSocketSharp.Net.CookieCollection CookieCollection { get; }-Value
-- A WebSocketSharp.Net.CookieCollection that contains the cookies. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the HTTP headers used in the WebSocket opening handshake. -
-Syntax
-public override System.Collections.Specialized.NameValueCollection Headers { get; }-Value
-- A System.Collections.Specialized.NameValueCollection that contains the HTTP headers. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the client is authenticated. -
-Syntax
-public override bool IsAuthenticated { get; }-Value
-- true if the client is authenticated; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the client connected from the local computer. -
-Syntax
-public override bool IsLocal { get; }-Value
-- true if the client connected from the local computer; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocket connection is secured. -
-Syntax
-public override bool IsSecureConnection { get; }-Value
-- true if the WebSocket connection is secured; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocket connection request is valid. -
-Syntax
-public override bool IsValid { get; }-Value
-- true if the WebSocket connection request is valid; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the value of the Origin header field used in the WebSocket opening handshake. -
-Syntax
-public override string Origin { get; }-Value
-- A string that contains the value of the Origin header field. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the absolute path of the requested WebSocket URI. -
-Syntax
-public override string Path { get; }-Value
-- A string that contains the absolute path of the requested WebSocket URI. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the collection of query string variables used in the WebSocket opening handshake. -
-Syntax
-public override System.Collections.Specialized.NameValueCollection QueryString { get; }-Value
-- A System.Collections.Specialized.NameValueCollection that contains the collection of query string variables. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocket URI requested by the client. -
-Syntax
-public override Uri RequestUri { get; }-Value
-- A Uri that contains the WebSocket URI. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. -
-Syntax
-public override string SecWebSocketKey { get; }-Value
-- A string that contains the value of the Sec-WebSocket-Key header field. --Remarks
-- The SecWebSocketKey property provides a part of the information used by the server to prove that it received a valid WebSocket opening handshake. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. -
-Syntax
-public override IEnumerable<string> SecWebSocketProtocols { get; }-Value
-- An IEnumerable<string> that contains the values of the Sec-WebSocket-Protocol header field. --Remarks
-- The SecWebSocketProtocols property indicates the subprotocols of the WebSocket connection. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. -
-Syntax
-public override string SecWebSocketVersion { get; }-Value
-- A string that contains the value of the Sec-WebSocket-Version header field. --Remarks
-- The SecWebSocketVersion property indicates the WebSocket protocol version of the connection. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the server endpoint as an IP address and a port number. -
-Syntax
-public virtual System.Net.IPEndPoint ServerEndPoint { get; }-Value
-- A System.Net.IPEndPoint that contains the server endpoint. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the client information (identity, authentication information and security roles). -
-Syntax
-public override System.Security.Principal.IPrincipal User { get; }-Value
-- A System.Security.Principal.IPrincipal that contains the client information. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the client endpoint as an IP address and a port number. -
-Syntax
-public virtual System.Net.IPEndPoint UserEndPoint { get; }-Value
-- A System.Net.IPEndPoint that contains the client endpoint. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocket instance used for two-way communication between client and server. -
-Syntax
-public override WebSocketSharp.WebSocket WebSocket { get; }-Value
-- A WebSocketSharp.WebSocket. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides access to the WebSocket connection request objects received by the System.Net.Sockets.TcpListener class. -
-- See Also: Inherited members from - WebSocketContext. -
-[read-only] override |
- - - CookieCollection - - | -- - WebSocketSharp.Net.CookieCollection - . - Gets the cookies used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - CookieCollection - - | -- - WebSocketSharp.Net.CookieCollection - . - Gets the cookies used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - Headers - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the HTTP headers used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - Headers - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the HTTP headers used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - IsAuthenticated - - | -- - bool - . - Gets a value indicating whether the client is authenticated. - | -
[read-only] abstract |
- - - IsAuthenticated - - | -- - bool - . - Gets a value indicating whether the client is authenticated. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - IsLocal - - | -- - bool - . - Gets a value indicating whether the client connected from the local computer. - | -
[read-only] abstract |
- - - IsLocal - - | -- - bool - . - Gets a value indicating whether the client connected from the local computer. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - IsSecureConnection - - | -- - bool - . - Gets a value indicating whether the WebSocket connection is secured. - | -
[read-only] abstract |
- - - IsSecureConnection - - | -- - bool - . - Gets a value indicating whether the WebSocket connection is secured. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - IsValid - - | -- - bool - . - Gets a value indicating whether the WebSocket connection request is valid. - | -
[read-only] abstract |
- - - IsValid - - | -- - bool - . - Gets a value indicating whether the WebSocket connection request is valid. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - Origin - - | -- - string - . - Gets the value of the Origin header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - Origin - - | -- - string - . - Gets the value of the Origin header field used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - Path - - | -- - string - . - Gets the absolute path of the requested WebSocket URI. - | -
[read-only] abstract |
- - - Path - - | -- - string - . - Gets the absolute path of the requested WebSocket URI. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - QueryString - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the collection of query string variables used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - QueryString - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the collection of query string variables used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - RequestUri - - | -- - Uri - . - Gets the WebSocket URI requested by the client. - | -
[read-only] abstract |
- - - RequestUri - - | -- - Uri - . - Gets the WebSocket URI requested by the client. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - SecWebSocketKey - - | -- - string - . - Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - SecWebSocketKey - - | -- - string - . - Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - SecWebSocketProtocols - - | -- - IEnumerable<string> - . - Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - SecWebSocketProtocols - - | -- - IEnumerable<string> - . - Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] override |
- - - SecWebSocketVersion - - | -- - string - . - Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - SecWebSocketVersion - - | -- - string - . - Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. - (Inherited from WebSocketContext.) | -
[read-only] | -- - ServerEndPoint - - | -- - System.Net.IPEndPoint - . - Gets the server endpoint as an IP address and a port number. - | -
[read-only] override |
- - - User - - | -- - System.Security.Principal.IPrincipal - . - Gets the client information (identity, authentication information and security roles). - | -
[read-only] abstract |
- - - User - - | -- - System.Security.Principal.IPrincipal - . - Gets the client information (identity, authentication information and security roles). - (Inherited from WebSocketContext.) | -
[read-only] | -- - UserEndPoint - - | -- - System.Net.IPEndPoint - . - Gets the client endpoint as an IP address and a port number. - | -
[read-only] override |
- - - WebSocket - - | -- - WebSocketSharp.WebSocket - . - Gets the WebSocket instance used for two-way communication between client and server. - | -
[read-only] abstract |
- - - WebSocket - - | -- - WebSocketSharp.WebSocket - . - Gets the WebSocket instance used for two-way communication between client and server. - (Inherited from WebSocketContext.) | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Gets the cookies used in the WebSocket opening handshake. -
-Syntax
-public override WebSocketSharp.Net.CookieCollection CookieCollection { get; }-Value
-- A WebSocketSharp.Net.CookieCollection that contains the cookies. --Exceptions
----
-- -Type -Reason -- -- NotImplementedException - -- This property is not implemented. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the HTTP headers used in the WebSocket opening handshake. -
-Syntax
-public override System.Collections.Specialized.NameValueCollection Headers { get; }-Value
-- A System.Collections.Specialized.NameValueCollection that contains the HTTP headers. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the client is authenticated. -
-Syntax
-public override bool IsAuthenticated { get; }-Value
-- true if the client is authenticated; otherwise, false. --Exceptions
----
-- -Type -Reason -- -- NotImplementedException - -- This property is not implemented. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the client connected from the local computer. -
-Syntax
-public override bool IsLocal { get; }-Value
-- true if the client connected from the local computer; otherwise, false. --Exceptions
----
-- -Type -Reason -- -- NotImplementedException - -- This property is not implemented. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocket connection is secured. -
-Syntax
-public override bool IsSecureConnection { get; }-Value
-- true if the WebSocket connection is secured; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocket connection request is valid. -
-Syntax
-public override bool IsValid { get; }-Value
-- true if the WebSocket connection request is valid; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the value of the Origin header field used in the WebSocket opening handshake. -
-Syntax
-public override string Origin { get; }-Value
-- A string that contains the value of the Origin header field. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the absolute path of the requested WebSocket URI. -
-Syntax
-public override string Path { get; }-Value
-- A string that contains the absolute path of the requested WebSocket URI. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the collection of query string variables used in the WebSocket opening handshake. -
-Syntax
-public override System.Collections.Specialized.NameValueCollection QueryString { get; }-Value
-- A System.Collections.Specialized.NameValueCollection that contains the collection of query string variables. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocket URI requested by the client. -
-Syntax
-public override Uri RequestUri { get; }-Value
-- A Uri that contains the WebSocket URI. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. -
-Syntax
-public override string SecWebSocketKey { get; }-Value
-- A string that contains the value of the Sec-WebSocket-Key header field. --Remarks
-- The SecWebSocketKey property provides a part of the information used by the server to prove that it received a valid WebSocket opening handshake. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. -
-Syntax
-public override IEnumerable<string> SecWebSocketProtocols { get; }-Value
-- An IEnumerable<string> that contains the values of the Sec-WebSocket-Protocol header field. --Remarks
-- The SecWebSocketProtocols property indicates the subprotocols of the WebSocket connection. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. -
-Syntax
-public override string SecWebSocketVersion { get; }-Value
-- A string that contains the value of the Sec-WebSocket-Version header field. --Remarks
-- The SecWebSocketVersion property indicates the WebSocket protocol version of the connection. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the server endpoint as an IP address and a port number. -
-Syntax
-public virtual System.Net.IPEndPoint ServerEndPoint { get; }-Value
-- A System.Net.IPEndPoint that contains the server endpoint. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the client information (identity, authentication information and security roles). -
-Syntax
-public override System.Security.Principal.IPrincipal User { get; }-Value
-- A System.Security.Principal.IPrincipal that contains the client information. --Exceptions
----
-- -Type -Reason -- -- NotImplementedException - -- This property is not implemented. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the client endpoint as an IP address and a port number. -
-Syntax
-public virtual System.Net.IPEndPoint UserEndPoint { get; }-Value
-- A System.Net.IPEndPoint that contains the client endpoint. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocket instance used for two-way communication between client and server. -
-Syntax
-public override WebSocketSharp.WebSocket WebSocket { get; }-Value
-- A WebSocketSharp.WebSocket. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides access to the WebSocket connection request objects. -
-- See Also: Inherited members from - object. -
-
-
-
- |
-
-
-
- WebSocketContext
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Net.WebSockets.WebSocketContext class. - | -
[read-only] abstract |
- - - CookieCollection - - | -- - WebSocketSharp.Net.CookieCollection - . - Gets the cookies used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - Headers - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the HTTP headers used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - IsAuthenticated - - | -- - bool - . - Gets a value indicating whether the client is authenticated. - | -
[read-only] abstract |
- - - IsLocal - - | -- - bool - . - Gets a value indicating whether the client connected from the local computer. - | -
[read-only] abstract |
- - - IsSecureConnection - - | -- - bool - . - Gets a value indicating whether the WebSocket connection is secured. - | -
[read-only] abstract |
- - - IsValid - - | -- - bool - . - Gets a value indicating whether the WebSocket connection request is valid. - | -
[read-only] abstract |
- - - Origin - - | -- - string - . - Gets the value of the Origin header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - Path - - | -- - string - . - Gets the absolute path of the requested WebSocket URI. - | -
[read-only] abstract |
- - - QueryString - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the collection of query string variables used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - RequestUri - - | -- - Uri - . - Gets the WebSocket URI requested by the client. - | -
[read-only] abstract |
- - - SecWebSocketKey - - | -- - string - . - Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - SecWebSocketProtocols - - | -- - IEnumerable<string> - . - Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - SecWebSocketVersion - - | -- - string - . - Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. - | -
[read-only] abstract |
- - - User - - | -- - System.Security.Principal.IPrincipal - . - Gets the client information (identity, authentication information and security roles). - | -
[read-only] abstract |
- - - WebSocket - - | -- - WebSocketSharp.WebSocket - . - Gets the WebSocket instance used for two-way communication between client and server. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Initializes a new instance of the WebSocketSharp.Net.WebSockets.WebSocketContext class. -
-Syntax
-protected WebSocketContext ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the cookies used in the WebSocket opening handshake. -
-Syntax
-public abstract WebSocketSharp.Net.CookieCollection CookieCollection { get; }-Value
-- A WebSocketSharp.Net.CookieCollection that contains the cookies. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the HTTP headers used in the WebSocket opening handshake. -
-Syntax
-public abstract System.Collections.Specialized.NameValueCollection Headers { get; }-Value
-- A System.Collections.Specialized.NameValueCollection that contains the HTTP headers. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the client is authenticated. -
-Syntax
-public abstract bool IsAuthenticated { get; }-Value
-- true if the client is authenticated; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the client connected from the local computer. -
-Syntax
-public abstract bool IsLocal { get; }-Value
-- true if the client connected from the local computer; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocket connection is secured. -
-Syntax
-public abstract bool IsSecureConnection { get; }-Value
-- true if the WebSocket connection is secured; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocket connection request is valid. -
-Syntax
-public abstract bool IsValid { get; }-Value
-- true if the WebSocket connection request is valid; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the value of the Origin header field used in the WebSocket opening handshake. -
-Syntax
-public abstract string Origin { get; }-Value
-- A string that contains the value of the Origin header field. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the absolute path of the requested WebSocket URI. -
-Syntax
-public abstract string Path { get; }-Value
-- A string that contains the absolute path of the requested WebSocket URI. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the collection of query string variables used in the WebSocket opening handshake. -
-Syntax
-public abstract System.Collections.Specialized.NameValueCollection QueryString { get; }-Value
-- A System.Collections.Specialized.NameValueCollection that contains the collection of query string variables. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocket URI requested by the client. -
-Syntax
-public abstract Uri RequestUri { get; }-Value
-- A Uri that contains the WebSocket URI. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. -
-Syntax
-public abstract string SecWebSocketKey { get; }-Value
-- A string that contains the value of the Sec-WebSocket-Key header field. --Remarks
-- The SecWebSocketKey property provides a part of the information used by the server to prove that it received a valid WebSocket opening handshake. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. -
-Syntax
-public abstract IEnumerable<string> SecWebSocketProtocols { get; }-Value
-- An IEnumerable<string> that contains the values of the Sec-WebSocket-Protocol header field. --Remarks
-- The SecWebSocketProtocols property indicates the subprotocols of the WebSocket connection. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. -
-Syntax
-public abstract string SecWebSocketVersion { get; }-Value
-- A string that contains the value of the Sec-WebSocket-Version header field. --Remarks
-- The SecWebSocketVersion property indicates the WebSocket protocol version of the connection. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the client information (identity, authentication information and security roles). -
-Syntax
-public abstract System.Security.Principal.IPrincipal User { get; }-Value
-- A System.Security.Principal.IPrincipal that contains the client information. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocket instance used for two-way communication between client and server. -
-Syntax
-public abstract WebSocketSharp.WebSocket WebSocket { get; }-Value
-- A WebSocketSharp.WebSocket. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net.WebSockets-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
-
-The WebSocketSharp.Net.WebSockets namespace contains classes to access to the WebSocket connection request objects.
-Type | -Description | -
---|---|
- HttpListenerWebSocketContext - | -- Provides access to the WebSocket connection request objects received by the WebSocketSharp.Net.HttpListener class. - | -
- TcpListenerWebSocketContext - | -- Provides access to the WebSocket connection request objects received by the System.Net.Sockets.TcpListener class. - | -
- WebSocketContext - | -- Provides access to the WebSocket connection request objects. - | -
- Selects the authentication scheme for a WebSocketSharp.Net.HttpListener instance. -
----
-- - httpRequest -
-- - A WebSocketSharp.Net.HttpListenerRequest that contains a client request information. -
-
- One of the WebSocketSharp.Net.AuthenticationSchemes values that indicates the scheme used to authenticate the specified client request. --
- Contains the values of the schemes for authentication. -
-Member Name | -Description | -
---|---|
- Anonymous - | -- Indicates anonymous authentication. - | -
- Basic - | -- Indicates basic authentication. - | -
- Digest - | -- Indicates digest authentication. - | -
- IntegratedWindowsAuthentication - | -- Indicates Windows authentication. - | -
- Negotiate - | -- Indicates negotiating with the client to determine the authentication scheme. - | -
- None - | -- Indicates that no authentication is allowed. - | -
- Ntlm - | -- Indicates NTLM authentication. - | -
- Provides a set of properties and methods used to manage an HTTP Cookie. -
-- The Cookie class supports the following cookie formats: - Netscape specification, - RFC 2109 and - RFC 2965. -
-- The Cookie class cannot be inherited. -
-- See Also: Inherited members from - object. -
-
-
-
- |
-
-
-
- Cookie
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Net.Cookie class. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Net.Cookie class - with the specified name and value. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Net.Cookie class - with the specified name, value and path. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Net.Cookie class - with the specified name, value, - path and domain. - | -
-
-
- |
- - - Comment - - | -- - string - . - Gets or sets the value of the Comment attribute of the cookie. - | -
-
-
- |
- - - CommentUri - - | -- - Uri - . - Gets or sets the value of the CommentURL attribute of the cookie. - | -
-
-
- |
- - - Discard - - | -- - bool - . - Gets or sets a value indicating whether the client discards the cookie unconditionally - when the client terminates. - | -
-
-
- |
- - - Domain - - | -- - string - . - Gets or sets the value of the Domain attribute of the cookie. - | -
-
-
- |
- - - Expired - - | -- - bool - . - Gets or sets a value indicating whether the cookie has expired. - | -
-
-
- |
- - - Expires - - | -- - DateTime - . - Gets or sets the value of the Expires attribute of the cookie. - | -
-
-
- |
- - - HttpOnly - - | -- - bool - . - Gets or sets a value indicating non-HTTP APIs can access the cookie. - | -
-
-
- |
- - - Name - - | -- - string - . - Gets or sets the Name of the cookie. - | -
-
-
- |
- - - Path - - | -- - string - . - Gets or sets the value of the Path attribute of the cookie. - | -
-
-
- |
- - - Port - - | -- - string - . - Gets or sets the value of the Port attribute of the cookie. - | -
-
-
- |
- - - Secure - - | -- - bool - . - Gets or sets a value indicating whether the security level of the cookie is secure. - | -
[read-only] | -- - TimeStamp - - | -- - DateTime - . - Gets the time when the cookie was issued. - | -
-
-
- |
- - - Value - - | -- - string - . - Gets or sets the Value of the cookie. - | -
-
-
- |
- - - Version - - | -- - int - . - Gets or sets the value of the Version attribute of the cookie. - | -
- override
- |
-
-
- Equals
- (object)- Determines whether the specified object is equal to the current WebSocketSharp.Net.Cookie. - |
- |
- override
- |
-
-
- GetHashCode
- ()- Serves as a hash function for a WebSocketSharp.Net.Cookie object. - |
- |
- override
- |
-
-
- ToString
- ()- Returns a string that represents the current WebSocketSharp.Net.Cookie. - |
-
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Initializes a new instance of the WebSocketSharp.Net.Cookie class. -
-Syntax
-public Cookie ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Net.Cookie class - with the specified name and value. -
-Syntax
- -Parameters
-- --Exceptions
----
-- -Type -Reason -- -- WebSocketSharp.Net.CookieException - -- -- name is null or string.Empty. -
-- - or - -
-- name contains an invalid character. -
-- - or - -
-- value is null. -
-- - or - -
-- value contains a string not enclosed in double quotes - that contains an invalid character. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Net.Cookie class - with the specified name, value and path. -
-Syntax
- -Parameters
-- --Exceptions
----
-- -Type -Reason -- -- WebSocketSharp.Net.CookieException - -- -- name is null or string.Empty. -
-- - or - -
-- name contains an invalid character. -
-- - or - -
-- value is null. -
-- - or - -
-- value contains a string not enclosed in double quotes - that contains an invalid character. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Net.Cookie class - with the specified name, value, - path and domain. -
-Syntax
- -Parameters
----
-- - name -
-- - A string that contains the Name of the cookie. -
-- - value -
-- - A string that contains the Value of the cookie. -
-- - path -
-- - A string that contains the value of the Path attribute of the cookie. -
-- - domain -
-- - A string that contains the value of the Domain attribute of the cookie. -
-Exceptions
----
-- -Type -Reason -- -- WebSocketSharp.Net.CookieException - -- -- name is null or string.Empty. -
-- - or - -
-- name contains an invalid character. -
-- - or - -
-- value is null. -
-- - or - -
-- value contains a string not enclosed in double quotes - that contains an invalid character. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the value of the Comment attribute of the cookie. -
-Syntax
-public string Comment { get; set; }-Value
-- A string that contains a comment to document intended use of the cookie. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the value of the CommentURL attribute of the cookie. -
-Syntax
-public Uri CommentUri { get; set; }-Value
-- A Uri that contains a URI that provides the comment - to document intended use of the cookie. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether the client discards the cookie unconditionally - when the client terminates. -
-Syntax
-public bool Discard { get; set; }-Value
-- true if the client discards the cookie unconditionally when the client terminates; - otherwise, false. The default is false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the value of the Domain attribute of the cookie. -
-Syntax
-public string Domain { get; set; }-Value
-- A string that contains a URI for which the cookie is valid. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified object is equal to the current WebSocketSharp.Net.Cookie. -
-Syntax
- -Parameters
----
-- - comparand -
-- - An object to compare with the current WebSocketSharp.Net.Cookie. -
-Returns
-- true if the specified object is equal to the current WebSocketSharp.Net.Cookie; - otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether the cookie has expired. -
-Syntax
-public bool Expired { get; set; }-Value
-- true if the cookie has expired; otherwise, false. The default is false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the value of the Expires attribute of the cookie. -
-Syntax
-public DateTime Expires { get; set; }-Value
-- A DateTime that contains the date and time at which the cookie expires. - The default is DateTime.MinValue. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Serves as a hash function for a WebSocketSharp.Net.Cookie object. -
-Syntax
-public override int GetHashCode ()-Returns
-- An int that contains a hash code for this instance. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating non-HTTP APIs can access the cookie. -
-Syntax
-public bool HttpOnly { get; set; }-Value
-- true if non-HTTP APIs can not access the cookie; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the Name of the cookie. -
-Syntax
-public string Name { get; set; }-Value
-- A string that contains the Name of the cookie. --Exceptions
----
-- -Type -Reason -- -- WebSocketSharp.Net.CookieException - -- -- The value specified for a set operation is null or string.Empty. -
-- - or - -
-- The value specified for a set operation contains an invalid character. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the value of the Path attribute of the cookie. -
-Syntax
-public string Path { get; set; }-Value
-- A string that contains a subset of URI on the origin server - to which the cookie applies. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the value of the Port attribute of the cookie. -
-Syntax
-public string Port { get; set; }-Value
-- A string that contains a list of the TCP ports to which the cookie applies. --Exceptions
----
-- -Type -Reason -- -- WebSocketSharp.Net.CookieException - -- The value specified for a set operation is not enclosed in double quotes or could not be parsed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether the security level of the cookie is secure. -
-Syntax
-public bool Secure { get; set; }-Value
-- true if the security level of the cookie is secure; otherwise, false. - The default is false. --Remarks
-- When this property is true, the cookie may be included in the HTTP request - only if the request is transmitted over the HTTPS. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the time when the cookie was issued. -
-Syntax
-public DateTime TimeStamp { get; }-Value
-- A DateTime that contains the time when the cookie was issued. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Returns a string that represents the current WebSocketSharp.Net.Cookie. -
-Syntax
-public override string ToString ()-Returns
-- A string that represents the current WebSocketSharp.Net.Cookie. --Remarks
-- This method returns a string to use to send an HTTP Cookie to an origin server. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the Value of the cookie. -
-Syntax
-public string Value { get; set; }-Value
-- A string that contains the Value of the cookie. --Exceptions
----
-- -Type -Reason -- -- WebSocketSharp.Net.CookieException - -- -- The value specified for a set operation is null. -
-- - or - -
-- The value specified for a set operation contains a string not enclosed in double quotes - that contains an invalid character. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the value of the Version attribute of the cookie. -
-Syntax
-public int Version { get; set; }-Value
-- An int that contains the version of the HTTP state management - to which the cookie conforms. --Exceptions
----
-- -Type -Reason -- -- ArgumentOutOfRangeException - -- The value specified for a set operation is not allowed. The value must be 0 or 1. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides a collection container for instances of the WebSocketSharp.Net.Cookie class. -
-- See Also: Inherited members from - object. -
-
-
-
- |
-
-
-
- CookieCollection
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Net.CookieCollection class. - | -
[read-only] | -- - Count - - | -- - int - . - Gets the number of cookies contained in the WebSocketSharp.Net.CookieCollection. - | -
[read-only] | -- - IsReadOnly - - | -- - bool - . - Gets a value indicating whether the WebSocketSharp.Net.CookieCollection is read-only. - | -
[read-only] | -- - IsSynchronized - - | -- - bool - . - Gets a value indicating whether access to the WebSocketSharp.Net.CookieCollection is thread safe. - | -
[read-only] default property |
- - - Item - (int) | -- - Cookie - . - Gets the WebSocketSharp.Net.Cookie with the specified index from the WebSocketSharp.Net.CookieCollection. - | -
[read-only] default property |
- - - Item - (string) | -- - Cookie - . - Gets the WebSocketSharp.Net.Cookie with the specified name from the WebSocketSharp.Net.CookieCollection. - | -
[read-only] | -- - SyncRoot - - | -- - object - . - Gets an object to use to synchronize access to the WebSocketSharp.Net.CookieCollection. - | -
-
-
- |
-
-
- Add
- (Cookie)- Add the specified WebSocketSharp.Net.Cookie to the WebSocketSharp.Net.CookieCollection. - |
- |
-
-
- |
-
-
- Add
- (CookieCollection)- Add the elements of the specified WebSocketSharp.Net.CookieCollection to the current WebSocketSharp.Net.CookieCollection. - |
- |
-
-
- |
-
-
- CopyTo
- (Array, int)- Copies the elements of the WebSocketSharp.Net.CookieCollection to the specified Array, - starting at the specified index in the array. - |
- |
-
-
- |
-
-
- CopyTo
- (Cookie[], int)- Copies the elements of the WebSocketSharp.Net.CookieCollection to the specified array of WebSocketSharp.Net.Cookie, - starting at the specified index in the array. - |
- |
-
-
- |
-
-
- GetEnumerator
- ()- Gets the enumerator to use to iterate through the WebSocketSharp.Net.CookieCollection. - |
-
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Initializes a new instance of the WebSocketSharp.Net.CookieCollection class. -
-Syntax
-public CookieCollection ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Add the specified WebSocketSharp.Net.Cookie to the WebSocketSharp.Net.CookieCollection. -
-Syntax
- -Parameters
----
-- - cookie -
-- - A WebSocketSharp.Net.Cookie to add to the WebSocketSharp.Net.CookieCollection. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- cookie is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Add the elements of the specified WebSocketSharp.Net.CookieCollection to the current WebSocketSharp.Net.CookieCollection. -
-Syntax
-public void Add (CookieCollection cookies)-Parameters
----
-- - cookies -
-- - A WebSocketSharp.Net.CookieCollection to add to the current WebSocketSharp.Net.CookieCollection. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- cookies is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Copies the elements of the WebSocketSharp.Net.CookieCollection to the specified Array, - starting at the specified index in the array. -
-Syntax
- -Parameters
----
-- - array -
-- - An Array is the destination of the elements copied from the WebSocketSharp.Net.CookieCollection. -
-- - index -
-- - An int that indicates the zero-based index in array at which copying begins. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- array is null. - -- -- ArgumentOutOfRangeException - -- index is less than zero. - -- -- ArgumentException - -- -- array is multidimensional. -
-- -or- -
-- The number of elements in the WebSocketSharp.Net.CookieCollection is greater than the available space - from index to the end of the destination array. -
-- -- InvalidCastException - -- The elements in the WebSocketSharp.Net.CookieCollection cannot be cast automatically - to the type of the destination array. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Copies the elements of the WebSocketSharp.Net.CookieCollection to the specified array of WebSocketSharp.Net.Cookie, - starting at the specified index in the array. -
-Syntax
- -Parameters
----
-- - array -
-- - An array of WebSocketSharp.Net.Cookie is the destination of the elements copied from the WebSocketSharp.Net.CookieCollection. -
-- - index -
-- - An int that indicates the zero-based index in array at which copying begins. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- array is null. - -- -- ArgumentOutOfRangeException - -- index is less than zero. - -- -- ArgumentException - -- The number of elements in the WebSocketSharp.Net.CookieCollection is greater than the available space - from index to the end of the destination array. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the number of cookies contained in the WebSocketSharp.Net.CookieCollection. -
-Syntax
-public int Count { get; }-Value
-- An int that indicates the number of cookies contained in the WebSocketSharp.Net.CookieCollection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the enumerator to use to iterate through the WebSocketSharp.Net.CookieCollection. -
-Syntax
-public IEnumerator GetEnumerator ()-Returns
-- An instance of an implementation of the IEnumerator interface - to use to iterate through the WebSocketSharp.Net.CookieCollection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocketSharp.Net.CookieCollection is read-only. -
-Syntax
-public bool IsReadOnly { get; }-Value
-- true if the WebSocketSharp.Net.CookieCollection is read-only; otherwise, false. - The default is true. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether access to the WebSocketSharp.Net.CookieCollection is thread safe. -
-Syntax
-public bool IsSynchronized { get; }-Value
-- true if access to the WebSocketSharp.Net.CookieCollection is thread safe; otherwise, false. - The default is false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocketSharp.Net.Cookie with the specified index from the WebSocketSharp.Net.CookieCollection. -
-Syntax
- -Parameters
----
-- - index -
-- - An int is the zero-based index of the WebSocketSharp.Net.Cookie to find. -
-Value
-- A WebSocketSharp.Net.Cookie with the specified index in the WebSocketSharp.Net.CookieCollection. --Exceptions
----
-- -Type -Reason -- -- ArgumentOutOfRangeException - -- index is less than zero or index is greater than or - equal to CookieCollection.Count. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocketSharp.Net.Cookie with the specified name from the WebSocketSharp.Net.CookieCollection. -
-Syntax
- -Parameters
----
-- - name -
-- - A string is the name of the WebSocketSharp.Net.Cookie to find. -
-Value
-- A WebSocketSharp.Net.Cookie with the specified name in the WebSocketSharp.Net.CookieCollection. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- name is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets an object to use to synchronize access to the WebSocketSharp.Net.CookieCollection. -
-Syntax
-public object SyncRoot { get; }-Value
-- An object to use to synchronize access to the WebSocketSharp.Net.CookieCollection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- The exception that is thrown when a WebSocketSharp.Net.Cookie gets an error. -
-- See Also: Inherited members from - FormatException. -
-
-
-
- |
-
-
-
- CookieException
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Net.CookieException class. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Net.CookieException class - with the specified System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext. - | -
- override
- |
-
-
- GetObjectData
- (System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)- Populates the specified System.Runtime.Serialization.SerializationInfo with the data needed to serialize the WebSocketSharp.Net.CookieException. - |
-
-
-
- |
- - - System.Runtime.Serialization.ISerializable.GetObjectData - - | -- Populates the specified System.Runtime.Serialization.SerializationInfo with the data needed to serialize the WebSocketSharp.Net.CookieException. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Initializes a new instance of the WebSocketSharp.Net.CookieException class. -
-Syntax
-public CookieException ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Net.CookieException class - with the specified System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext. -
-Syntax
-protected CookieException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext)-Parameters
----
-- - serializationInfo -
-- - A System.Runtime.Serialization.SerializationInfo that holds the serialized object data. -
-- - streamingContext -
-- - A System.Runtime.Serialization.StreamingContext that contains the contextual information about the source or destination. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Populates the specified System.Runtime.Serialization.SerializationInfo with the data needed to serialize the WebSocketSharp.Net.CookieException. -
-Syntax
-public override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext)-Parameters
----
-- - serializationInfo -
-- - A System.Runtime.Serialization.SerializationInfo that holds the serialized object data. -
-- - streamingContext -
-- - A System.Runtime.Serialization.StreamingContext that specifies the destination for the serialization. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Populates the specified System.Runtime.Serialization.SerializationInfo with the data needed to serialize the WebSocketSharp.Net.CookieException. -
-Syntax
-- void System.Runtime.Serialization.ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext)-Parameters
----
-- - serializationInfo -
-- - A System.Runtime.Serialization.SerializationInfo that holds the serialized object data. -
-- - streamingContext -
-- - A System.Runtime.Serialization.StreamingContext that specifies the destination for the serialization. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides a simple, programmatically controlled HTTP listener. -
-- See Also: Inherited members from - object. -
-
-
-
- |
-
-
-
- HttpListener
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Net.HttpListener class. - | -
-
-
- |
- - - AuthenticationSchemes - - | -- - AuthenticationSchemes - . - Gets or sets the scheme used to authenticate the clients. - | -
-
-
- |
- - - AuthenticationSchemeSelectorDelegate - - | -- - AuthenticationSchemeSelector - . - Gets or sets the delegate called to determine the scheme used to authenticate clients. - | -
-
-
- |
- - - IgnoreWriteExceptions - - | -- - bool - . - Gets or sets a value indicating whether the WebSocketSharp.Net.HttpListener returns exceptions - that occur when sending the response to the client. - | -
[read-only] | -- - IsListening - - | -- - bool - . - Gets a value indicating whether the WebSocketSharp.Net.HttpListener has been started. - | -
[read-only] static |
- - - IsSupported - - | -- - bool - . - Gets a value indicating whether the WebSocketSharp.Net.HttpListener can be used with the current operating system. - | -
[read-only] | -- - Prefixes - - | -- - HttpListenerPrefixCollection - . - Gets the URI prefixes handled by the WebSocketSharp.Net.HttpListener. - | -
-
-
- |
- - - Realm - - | -- - string - . - Gets or sets the name of the realm associated with the WebSocketSharp.Net.HttpListener. - | -
-
-
- |
- - - UnsafeConnectionNtlmAuthentication - - | -- - bool - . - Gets or sets a value indicating whether, when NTLM authentication is used, - the authentication information of first request is used to authenticate - additional requests on the same connection. - | -
-
-
- |
-
-
- Abort
- ()- Shuts down the WebSocketSharp.Net.HttpListener immediately. - |
- |
-
-
- |
-
-
- BeginGetContext
- (AsyncCallback, object)- Begins getting an incoming request information asynchronously. - |
- |
-
-
- |
-
-
- Close
- ()- Shuts down the WebSocketSharp.Net.HttpListener. - |
- |
-
-
- |
-
-
- EndGetContext
- (IAsyncResult)- Ends an asynchronous operation to get an incoming request information. - |
- |
-
-
- |
-
-
- GetContext
- ()- Gets an incoming request information. - |
- |
-
-
- |
-
-
- Start
- ()- Starts to receive incoming requests. - |
- |
-
-
- |
-
-
- Stop
- ()- Stops receiving incoming requests. - |
-
-
-
- |
- - - IDisposable.Dispose - - | -- Releases all resource used by the WebSocketSharp.Net.HttpListener. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Initializes a new instance of the WebSocketSharp.Net.HttpListener class. -
-Syntax
-public HttpListener ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Shuts down the WebSocketSharp.Net.HttpListener immediately. -
-Syntax
-public void Abort ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the scheme used to authenticate the clients. -
-Syntax
-public AuthenticationSchemes AuthenticationSchemes { get; set; }-Value
-- One of the WebSocketSharp.Net.AuthenticationSchemes values that indicates the scheme used to - authenticate the clients. The default value is AuthenticationSchemes.Anonymous. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the delegate called to determine the scheme used to authenticate clients. -
-Syntax
-public AuthenticationSchemeSelector AuthenticationSchemeSelectorDelegate { get; set; }-Value
-- A WebSocketSharp.Net.AuthenticationSchemeSelector delegate that invokes the method(s) used to select - an authentication scheme. The default value is null. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Begins getting an incoming request information asynchronously. -
-Syntax
- -Parameters
----
-- - callback -
-- - An AsyncCallback delegate that references the method(s) - called when the asynchronous operation completes. -
-- - state -
-- - An object that contains a user defined object to pass to the callback delegate. -
-Returns
-- An IAsyncResult that contains the status of the asynchronous operation. --Exceptions
----
-- -Type -Reason -- -- InvalidOperationException - -- The WebSocketSharp.Net.HttpListener has not been started or is stopped currently. - -- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- This asynchronous operation must be completed by calling the HttpListener.EndGetContext(IAsyncResult) method. - Typically, the method is invoked by the callback delegate. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Shuts down the WebSocketSharp.Net.HttpListener. -
-Syntax
-public void Close ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Ends an asynchronous operation to get an incoming request information. -
-Syntax
-public HttpListenerContext EndGetContext (IAsyncResult asyncResult)-Parameters
----
-- - asyncResult -
-- - An IAsyncResult obtained by calling the HttpListener.BeginGetContext(AsyncCallback, object) method. -
-Returns
-- A WebSocketSharp.Net.HttpListenerContext that contains a client's request information. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- asyncResult is null. - -- -- ArgumentException - -- asyncResult was not obtained by calling the HttpListener.BeginGetContext(AsyncCallback, object) method. - -- -- InvalidOperationException - -- The EndGetContext method was already called for the specified asyncResult. - -- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- This method completes an asynchronous operation started by calling the HttpListener.BeginGetContext(AsyncCallback, object) method. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets an incoming request information. -
-Syntax
-public HttpListenerContext GetContext ()-Returns
-- A WebSocketSharp.Net.HttpListenerContext that contains a client's request information. --Exceptions
----
-- -Type -Reason -- -- InvalidOperationException - -- -- The WebSocketSharp.Net.HttpListener does not have any URI prefixes to listen on. -
-- -or- -
-- The WebSocketSharp.Net.HttpListener has not been started or is stopped currently. -
-- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- This method waits for an incoming request and returns the request information - when received the request. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether the WebSocketSharp.Net.HttpListener returns exceptions - that occur when sending the response to the client. -
-Syntax
-public bool IgnoreWriteExceptions { get; set; }-Value
-- true if does not return exceptions that occur when sending the response to the client; - otherwise, false. The default value is false. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocketSharp.Net.HttpListener has been started. -
-Syntax
-public bool IsListening { get; }-Value
-- true if the WebSocketSharp.Net.HttpListener has been started; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocketSharp.Net.HttpListener can be used with the current operating system. -
-Syntax
-public static bool IsSupported { get; }-Value
-- true. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the URI prefixes handled by the WebSocketSharp.Net.HttpListener. -
-Syntax
-public HttpListenerPrefixCollection Prefixes { get; }-Value
-- A WebSocketSharp.Net.HttpListenerPrefixCollection that contains the URI prefixes. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the name of the realm associated with the WebSocketSharp.Net.HttpListener. -
-Syntax
-public string Realm { get; set; }-Value
-- A string that contains the name of the realm. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Starts to receive incoming requests. -
-Syntax
-public void Start ()-Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Stops receiving incoming requests. -
-Syntax
-public void Stop ()-Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Releases all resource used by the WebSocketSharp.Net.HttpListener. -
-Syntax
-- void System.IDisposable.Dispose ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether, when NTLM authentication is used, - the authentication information of first request is used to authenticate - additional requests on the same connection. -
-Syntax
-public bool UnsafeConnectionNtlmAuthentication { get; set; }-Value
-- true if the authentication information of first request is used; - otherwise, false. The default value is false. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object has been closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides access to the HTTP request and response objects used by the WebSocketSharp.Net.HttpListener class. -
-- See Also: Inherited members from - object. -
-[read-only] | -- - Request - - | -- - HttpListenerRequest - . - Gets the WebSocketSharp.Net.HttpListenerRequest that contains the HTTP request from a client. - | -
[read-only] | -- - Response - - | -- - HttpListenerResponse - . - Gets the WebSocketSharp.Net.HttpListenerResponse that contains the HTTP response to send to - the client in response to the client's request. - | -
[read-only] | -- - User - - | -- - System.Security.Principal.IPrincipal - . - Gets the client information (identity, authentication information and security roles). - | -
-
-
- |
-
-
- AcceptWebSocket
- ()- Accepts a WebSocket connection by the WebSocketSharp.Net.HttpListener. - |
-
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Accepts a WebSocket connection by the WebSocketSharp.Net.HttpListener. -
-Syntax
-public WebSocketSharp.Net.WebSockets.HttpListenerWebSocketContext AcceptWebSocket ()-Returns
-- A WebSocketSharp.Net.WebSockets.HttpListenerWebSocketContext that contains a WebSocket connection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocketSharp.Net.HttpListenerRequest that contains the HTTP request from a client. -
-Syntax
-public HttpListenerRequest Request { get; }-Value
-- A WebSocketSharp.Net.HttpListenerRequest that contains the HTTP request objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocketSharp.Net.HttpListenerResponse that contains the HTTP response to send to - the client in response to the client's request. -
-Syntax
-public HttpListenerResponse Response { get; }-Value
-- A WebSocketSharp.Net.HttpListenerResponse that contains the HTTP response objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the client information (identity, authentication information and security roles). -
-Syntax
-public System.Security.Principal.IPrincipal User { get; }-Value
-- A System.Security.Principal.IPrincipal contains the client information. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- The exception that is thrown when an error occurs processing an HTTP request. -
-- See Also: Inherited members from - System.ComponentModel.Win32Exception. -
-
-
-
- |
-
-
-
- HttpListenerException
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Net.HttpListenerException class. - | -
-
-
- |
-
-
-
- HttpListenerException
- (int)
- |
- - Initializes a new instance of the WebSocketSharp.Net.HttpListenerException class - with the specified errorCode. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Net.HttpListenerException class - with the specified errorCode and message. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Net.HttpListenerException class - from the specified System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext classes. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Initializes a new instance of the WebSocketSharp.Net.HttpListenerException class. -
-Syntax
-public HttpListenerException ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Net.HttpListenerException class - with the specified errorCode. -
-Syntax
-public HttpListenerException (int errorCode)-Parameters
----
-- - errorCode -
-- - An int that contains an error code. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Net.HttpListenerException class - with the specified errorCode and message. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Net.HttpListenerException class - from the specified System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext classes. -
-Syntax
-protected HttpListenerException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext)-Parameters
----
-- - serializationInfo -
-- - A System.Runtime.Serialization.SerializationInfo that contains the information required to deserialize - the new WebSocketSharp.Net.HttpListenerException object. -
-- - streamingContext -
-- - A System.Runtime.Serialization.StreamingContext. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value that represents the error that occurred. -
-Syntax
-public override int ErrorCode { get; }-Value
-- An int that contains an error code. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides the collection used to store the URI prefixes for the WebSocketSharp.Net.HttpListener. -
-- See Also: Inherited members from - object. -
-[read-only] | -- - Count - - | -- - int - . - Gets the number of prefixes contained in the WebSocketSharp.Net.HttpListenerPrefixCollection. - | -
[read-only] | -- - IsReadOnly - - | -- - bool - . - Gets a value indicating whether access to the WebSocketSharp.Net.HttpListenerPrefixCollection is read-only. - | -
[read-only] | -- - IsSynchronized - - | -- - bool - . - Gets a value indicating whether access to the WebSocketSharp.Net.HttpListenerPrefixCollection is synchronized. - | -
-
-
- |
-
-
- Add
- (string)- Adds the specified uriPrefix to the WebSocketSharp.Net.HttpListenerPrefixCollection. - |
- |
-
-
- |
-
-
- Clear
- ()- Removes all URI prefixes from the WebSocketSharp.Net.HttpListenerPrefixCollection. - |
- |
-
-
- |
-
-
- Contains
- (string)- Returns a value indicating whether the WebSocketSharp.Net.HttpListenerPrefixCollection contains - the specified uriPrefix. - |
- |
-
-
- |
-
-
- CopyTo
- (Array, int)- Copies the contents of the WebSocketSharp.Net.HttpListenerPrefixCollection to the specified Array. - |
- |
-
-
- |
-
-
- CopyTo
- (string[], int)- Copies the contents of the WebSocketSharp.Net.HttpListenerPrefixCollection to the specified array of string. - |
- |
-
-
- |
-
-
- GetEnumerator
- ()- Gets an object that can be used to iterate through the WebSocketSharp.Net.HttpListenerPrefixCollection. - |
- |
-
-
- |
-
-
- Remove
- (string)- Removes the specified uriPrefix from the list of prefixes in the WebSocketSharp.Net.HttpListenerPrefixCollection. - |
-
-
-
- |
- - - IEnumerable.GetEnumerator - - | -- Gets an object that can be used to iterate through the WebSocketSharp.Net.HttpListenerPrefixCollection. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Adds the specified uriPrefix to the WebSocketSharp.Net.HttpListenerPrefixCollection. -
-Syntax
- -Parameters
----
-- - uriPrefix -
-- - A string that contains a URI prefix to add. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- uriPrefix is null. - -- -- ObjectDisposedException - -- The WebSocketSharp.Net.HttpListener associated with this WebSocketSharp.Net.HttpListenerPrefixCollection is closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Removes all URI prefixes from the WebSocketSharp.Net.HttpListenerPrefixCollection. -
-Syntax
-public void Clear ()-Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- The WebSocketSharp.Net.HttpListener associated with this WebSocketSharp.Net.HttpListenerPrefixCollection is closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Returns a value indicating whether the WebSocketSharp.Net.HttpListenerPrefixCollection contains - the specified uriPrefix. -
-Syntax
- -Parameters
----
-- - uriPrefix -
-- - A string that contains a URI prefix to test. -
-Returns
-- true if the WebSocketSharp.Net.HttpListenerPrefixCollection contains the specified uriPrefix; - otherwise, false. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- uriPrefix is null. - -- -- ObjectDisposedException - -- The WebSocketSharp.Net.HttpListener associated with this WebSocketSharp.Net.HttpListenerPrefixCollection is closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Copies the contents of the WebSocketSharp.Net.HttpListenerPrefixCollection to the specified Array. -
-Syntax
- -Parameters
----
-- - array -
-- - An Array that receives the URI prefix strings in the WebSocketSharp.Net.HttpListenerPrefixCollection. -
-- - offset -
-- - An int that contains the zero-based index in array at which copying begins. -
-Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- The WebSocketSharp.Net.HttpListener associated with this WebSocketSharp.Net.HttpListenerPrefixCollection is closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Copies the contents of the WebSocketSharp.Net.HttpListenerPrefixCollection to the specified array of string. -
-Syntax
- -Parameters
----
-- - array -
-- - An array of string that receives the URI prefix strings in the WebSocketSharp.Net.HttpListenerPrefixCollection. -
-- - offset -
-- - An int that contains the zero-based index in array at which copying begins. -
-Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- The WebSocketSharp.Net.HttpListener associated with this WebSocketSharp.Net.HttpListenerPrefixCollection is closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the number of prefixes contained in the WebSocketSharp.Net.HttpListenerPrefixCollection. -
-Syntax
-public int Count { get; }-Value
-- A int that contains the number of prefixes. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets an object that can be used to iterate through the WebSocketSharp.Net.HttpListenerPrefixCollection. -
-Syntax
-public IEnumerator<string> GetEnumerator ()-Returns
-- An object that implements the IEnumerator<string> interface and provides access to - the URI prefix strings in the WebSocketSharp.Net.HttpListenerPrefixCollection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether access to the WebSocketSharp.Net.HttpListenerPrefixCollection is read-only. -
-Syntax
-public bool IsReadOnly { get; }-Value
-- Always returns false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether access to the WebSocketSharp.Net.HttpListenerPrefixCollection is synchronized. -
-Syntax
-public bool IsSynchronized { get; }-Value
-- Always returns false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Removes the specified uriPrefix from the list of prefixes in the WebSocketSharp.Net.HttpListenerPrefixCollection. -
-Syntax
- -Parameters
----
-- - uriPrefix -
-- - A string that contains a URI prefix to remove. -
-Returns
-- true if the uriPrefix was found in the WebSocketSharp.Net.HttpListenerPrefixCollection - and removed; otherwise, false. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- uriPrefix is null. - -- -- ObjectDisposedException - -- The WebSocketSharp.Net.HttpListener associated with this WebSocketSharp.Net.HttpListenerPrefixCollection is closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets an object that can be used to iterate through the WebSocketSharp.Net.HttpListenerPrefixCollection. -
-Syntax
-- IEnumerator System.Collections.IEnumerable.GetEnumerator ()-Returns
-- An object that implements the IEnumerator interface and provides access to - the URI prefix strings in the WebSocketSharp.Net.HttpListenerPrefixCollection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides access to a request to a WebSocketSharp.Net.HttpListener instance. -
-- See Also: Inherited members from - object. -
-[read-only] | -- - AcceptTypes - - | -- - string[]. - Gets the media types which are acceptable for the response. - | -
[read-only] | -- - ClientCertificateError - - | -- - int - . - Gets an error code that identifies a problem with the client's certificate. - | -
[read-only] | -- - ContentEncoding - - | -- - System.Text.Encoding - . - Gets the encoding that can be used with the entity body data included in the request. - | -
[read-only] | -- - ContentLength64 - - | -- - long - . - Gets the size of the entity body data included in the request. - | -
[read-only] | -- - ContentType - - | -- - string - . - Gets the media type of the entity body included in the request. - | -
[read-only] | -- - Cookies - - | -- - CookieCollection - . - Gets the cookies included in the request. - | -
[read-only] | -- - HasEntityBody - - | -- - bool - . - Gets a value indicating whether the request has the entity body. - | -
[read-only] | -- - Headers - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the HTTP headers used in the request. - | -
[read-only] | -- - HttpMethod - - | -- - string - . - Gets the HTTP method used in the request. - | -
[read-only] | -- - InputStream - - | -- - System.IO.Stream - . - Gets a System.IO.Stream that contains the entity body data included in the request. - | -
[read-only] | -- - IsAuthenticated - - | -- - bool - . - Gets a value indicating whether the client that sent the request is authenticated. - | -
[read-only] | -- - IsLocal - - | -- - bool - . - Gets a value indicating whether the request is sent from the local computer. - | -
[read-only] | -- - IsSecureConnection - - | -- - bool - . - Gets a value indicating whether the HTTP connection is secured using the SSL protocol. - | -
[read-only] | -- - IsWebSocketRequest - - | -- - bool - . - Gets a value indicating whether the request is a WebSocket connection request. - | -
[read-only] | -- - KeepAlive - - | -- - bool - . - Gets a value indicating whether the client requests a persistent connection. - | -
[read-only] | -- - LocalEndPoint - - | -- - System.Net.IPEndPoint - . - Gets the server endpoint as an IP address and a port number. - | -
[read-only] | -- - ProtocolVersion - - | -- - Version - . - Gets the HTTP version used in the request. - | -
[read-only] | -- - QueryString - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the collection of query string variables used in the request. - | -
[read-only] | -- - RawUrl - - | -- - string - . - Gets the raw URL (without the scheme, host and port) requested by the client. - | -
[read-only] | -- - RemoteEndPoint - - | -- - System.Net.IPEndPoint - . - Gets the client endpoint as an IP address and a port number. - | -
[read-only] | -- - RequestTraceIdentifier - - | -- - Guid - . - Gets the identifier of a request. - | -
[read-only] | -- - Url - - | -- - Uri - . - Gets the URL requested by the client. - | -
[read-only] | -- - UrlReferrer - - | -- - Uri - . - Gets the URL of the resource from which the requested URL was obtained. - | -
[read-only] | -- - UserAgent - - | -- - string - . - Gets the information about the user agent originating the request. - | -
[read-only] | -- - UserHostAddress - - | -- - string - . - Gets the server endpoint as an IP address and a port number. - | -
[read-only] | -- - UserHostName - - | -- - string - . - Gets the internet host name and port number (if present) of the resource being requested. - | -
[read-only] | -- - UserLanguages - - | -- - string[]. - Gets the natural languages that are preferred as a response to the request. - | -
-
-
- |
-
-
- BeginGetClientCertificate
- (AsyncCallback, object)- Begins getting the client's X.509 v.3 certificate asynchronously. - |
- |
-
-
- |
-
-
- EndGetClientCertificate
- (IAsyncResult)- Ends an asynchronous operation to get the client's X.509 v.3 certificate. - |
- |
-
-
- |
-
-
- GetClientCertificate
- ()- Gets the client's X.509 v.3 certificate. - |
-
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
- |
- static
- |
-
-
- IsUpgradeTo
- (this HttpListenerRequest, string)- Determines whether the specified WebSocketSharp.Net.HttpListenerRequest is the HTTP Upgrade request - to switch to the specified protocol. - |
-
--- Gets the media types which are acceptable for the response. -
-Syntax
-public string[] AcceptTypes { get; }-Value
-- An array of string that contains the media type names in the Accept request-header field - or null if the request did not include an Accept header. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Begins getting the client's X.509 v.3 certificate asynchronously. -
-Syntax
- -Parameters
----
-- - requestCallback -
-- - An AsyncCallback delegate that references the method(s) - called when the asynchronous operation completes. -
-- - state -
-- - An object that contains a user defined object to pass to the requestCallback delegate. -
-Returns
-- An IAsyncResult that contains the status of the asynchronous operation. --Exceptions
----
-- -Type -Reason -- -- NotImplementedException - -- This method is not implemented. - -Remarks
-- This asynchronous operation must be completed by calling the HttpListenerRequest.EndGetClientCertificate(IAsyncResult) method. - Typically, the method is invoked by the requestCallback delegate. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets an error code that identifies a problem with the client's certificate. -
-Syntax
-public int ClientCertificateError { get; }-Value
-- Always returns 0. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the encoding that can be used with the entity body data included in the request. -
-Syntax
-public System.Text.Encoding ContentEncoding { get; }-Value
-- A System.Text.Encoding that contains the encoding that can be used with the entity body data. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the size of the entity body data included in the request. -
-Syntax
-public long ContentLength64 { get; }-Value
-- A long that contains the value of the Content-Length entity-header field. - The value is a number of bytes in the entity body data. -1 if the size is not known. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the media type of the entity body included in the request. -
-Syntax
-public string ContentType { get; }-Value
-- A string that contains the value of the Content-Type entity-header field. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the cookies included in the request. -
-Syntax
-public CookieCollection Cookies { get; }-Value
-- A WebSocketSharp.Net.CookieCollection that contains the cookies included in the request. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Ends an asynchronous operation to get the client's X.509 v.3 certificate. -
-Syntax
-public System.Security.Cryptography.X509Certificates.X509Certificate2 EndGetClientCertificate (IAsyncResult asyncResult)-Parameters
----
-- - asyncResult -
-- - An IAsyncResult obtained by calling the HttpListenerRequest.BeginGetClientCertificate(AsyncCallback, object) method. -
-Returns
-- A System.Security.Cryptography.X509Certificates.X509Certificate2 that contains the client's X.509 v.3 certificate. --Exceptions
----
-- -Type -Reason -- -- NotImplementedException - -- This method is not implemented. - -Remarks
-- This method completes an asynchronous operation started by calling the HttpListenerRequest.BeginGetClientCertificate(AsyncCallback, object) method. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the client's X.509 v.3 certificate. -
-Syntax
-public System.Security.Cryptography.X509Certificates.X509Certificate2 GetClientCertificate ()-Returns
-- A System.Security.Cryptography.X509Certificates.X509Certificate2 that contains the client's X.509 v.3 certificate. --Exceptions
----
-- -Type -Reason -- -- NotImplementedException - -- This method is not implemented. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the request has the entity body. -
-Syntax
-public bool HasEntityBody { get; }-Value
-- true if the request has the entity body; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the HTTP headers used in the request. -
-Syntax
-public System.Collections.Specialized.NameValueCollection Headers { get; }-Value
-- A System.Collections.Specialized.NameValueCollection that contains the HTTP headers used in the request. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the HTTP method used in the request. -
-Syntax
-public string HttpMethod { get; }-Value
-- A string that contains the HTTP method used in the request. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a System.IO.Stream that contains the entity body data included in the request. -
-Syntax
-public System.IO.Stream InputStream { get; }-Value
-- A System.IO.Stream that contains the entity body data included in the request. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the client that sent the request is authenticated. -
-Syntax
-public bool IsAuthenticated { get; }-Value
-- Always returns false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the request is sent from the local computer. -
-Syntax
-public bool IsLocal { get; }-Value
-- true if the request is sent from the local computer; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the HTTP connection is secured using the SSL protocol. -
-Syntax
-public bool IsSecureConnection { get; }-Value
-- true if the HTTP connection is secured; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the request is a WebSocket connection request. -
-Syntax
-public bool IsWebSocketRequest { get; }-Value
-- true if the request is a WebSocket connection request; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the client requests a persistent connection. -
-Syntax
-public bool KeepAlive { get; }-Value
-- true if the client requests a persistent connection; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the server endpoint as an IP address and a port number. -
-Syntax
-public System.Net.IPEndPoint LocalEndPoint { get; }-Value
-- A System.Net.IPEndPoint that contains the server endpoint. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the HTTP version used in the request. -
-Syntax
-public Version ProtocolVersion { get; }-Value
-- A Version that contains the HTTP version used in the request. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the collection of query string variables used in the request. -
-Syntax
-public System.Collections.Specialized.NameValueCollection QueryString { get; }-Value
-- A System.Collections.Specialized.NameValueCollection that contains the collection of query string variables used in the request. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the raw URL (without the scheme, host and port) requested by the client. -
-Syntax
-public string RawUrl { get; }-Value
-- A string that contains the raw URL requested by the client. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the client endpoint as an IP address and a port number. -
-Syntax
-public System.Net.IPEndPoint RemoteEndPoint { get; }-Value
-- A System.Net.IPEndPoint that contains the client endpoint. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the identifier of a request. -
-Syntax
-public Guid RequestTraceIdentifier { get; }-Value
-- A Guid that contains the identifier of a request. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the URL requested by the client. -
-Syntax
-public Uri Url { get; }-Value
-- A Uri that contains the URL requested by the client. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the URL of the resource from which the requested URL was obtained. -
-Syntax
-public Uri UrlReferrer { get; }-Value
-- A Uri that contains the value of the Referer request-header field. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the information about the user agent originating the request. -
-Syntax
-public string UserAgent { get; }-Value
-- A string that contains the value of the User-Agent request-header field. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the server endpoint as an IP address and a port number. -
-Syntax
-public string UserHostAddress { get; }-Value
-- A string that contains the server endpoint. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the internet host name and port number (if present) of the resource being requested. -
-Syntax
-public string UserHostName { get; }-Value
-- A string that contains the value of the Host request-header field. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the natural languages that are preferred as a response to the request. -
-Syntax
-public string[] UserLanguages { get; }-Value
-- An array of string that contains the natural language names in the Accept-Language request-header field. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides access to a response to a request being processed by a WebSocketSharp.Net.HttpListener instance. -
-- See Also: Inherited members from - object. -
-
-
-
- |
- - - ContentEncoding - - | -- - System.Text.Encoding - . - Gets or sets the encoding that can be used with the entity body data included in the response. - | -
-
-
- |
- - - ContentLength64 - - | -- - long - . - Gets or sets the size of the entity body data included in the response. - | -
-
-
- |
- - - ContentType - - | -- - string - . - Gets or sets the media type of the entity body included in the response. - | -
-
-
- |
- - - Cookies - - | -- - CookieCollection - . - Gets or sets the cookies returned with the response. - | -
-
-
- |
- - - Headers - - | -- - WebHeaderCollection - . - Gets or sets the HTTP headers returned to the client. - | -
-
-
- |
- - - KeepAlive - - | -- - bool - . - Gets or sets a value indicating whether the server requests a persistent connection. - | -
[read-only] | -- - OutputStream - - | -- - System.IO.Stream - . - Gets a System.IO.Stream to use to write the entity body data. - | -
-
-
- |
- - - ProtocolVersion - - | -- - Version - . - Gets or sets the HTTP version used in the response. - | -
-
-
- |
- - - RedirectLocation - - | -- - string - . - Gets or sets the URL to which the client is redirected to locate a requested resource. - | -
-
-
- |
- - - SendChunked - - | -- - bool - . - Gets or sets a value indicating whether the response uses the chunked transfer encoding. - | -
-
-
- |
- - - StatusCode - - | -- - int - . - Gets or sets the HTTP status code returned to the client. - | -
-
-
- |
- - - StatusDescription - - | -- - string - . - Gets or sets a description of the HTTP status code returned to the client. - | -
-
-
- |
-
-
- Abort
- ()- Closes the connection to the client without sending a response. - |
- |
-
-
- |
-
-
- AddHeader
- (string, string)- Adds the specified HTTP header name and value to - the headers for this response. - |
- |
-
-
- |
-
-
- AppendCookie
- (Cookie)- Adds the specified WebSocketSharp.Net.Cookie to the HttpListenerResponse.Cookies sent with the response. - |
- |
-
-
- |
-
-
- AppendHeader
- (string, string)- Appends a value to the specified HTTP header sent with the response. - |
- |
-
-
- |
-
-
- Close
- ()- Sends the response to the client and releases the resources associated with - the WebSocketSharp.Net.HttpListenerResponse instance. - |
- |
-
-
- |
-
-
- Close
- (byte[], bool)- Sends the response with the specified array of byte to the client and - releases the resources associated with the WebSocketSharp.Net.HttpListenerResponse instance. - |
- |
-
-
- |
-
-
- CopyFrom
- (HttpListenerResponse)- Copies properties from the specified WebSocketSharp.Net.HttpListenerResponse to this response. - |
- |
-
-
- |
-
-
- Redirect
- (string)- Configures the response to redirect the client's request to the specified url. - |
- |
-
-
- |
-
-
- SetCookie
- (Cookie)- Adds or updates a WebSocketSharp.Net.Cookie in the HttpListenerResponse.Cookies sent with the response. - |
-
-
-
- |
- - - IDisposable.Dispose - - | -- Releases all resource used by the WebSocketSharp.Net.HttpListenerResponse. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
- |
- static
- |
-
-
- WriteContent
- (this HttpListenerResponse, byte[])- Writes the specified content data using the specified WebSocketSharp.Net.HttpListenerResponse. - |
-
--- Closes the connection to the client without sending a response. -
-Syntax
-public void Abort ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Adds the specified HTTP header name and value to - the headers for this response. -
-Syntax
- -Parameters
-- --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- name is null or string.Empty. - -- -- ArgumentOutOfRangeException - -- The length of value is greater than 65,535 characters. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Adds the specified WebSocketSharp.Net.Cookie to the HttpListenerResponse.Cookies sent with the response. -
-Syntax
- -Parameters
----
-- - cookie -
-- - A WebSocketSharp.Net.Cookie to add to the HttpListenerResponse.Cookies. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- cookie is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Appends a value to the specified HTTP header sent with the response. -
-Syntax
- -Parameters
-- --Exceptions
----
-- -Type -Reason -- -- ArgumentException - -- name is null or string.Empty. - -- -- ArgumentOutOfRangeException - -- The length of value is greater than 65,535 characters. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends the response to the client and releases the resources associated with - the WebSocketSharp.Net.HttpListenerResponse instance. -
-Syntax
-public void Close ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends the response with the specified array of byte to the client and - releases the resources associated with the WebSocketSharp.Net.HttpListenerResponse instance. -
-Syntax
- -Parameters
----
-- - responseEntity -
-- - An array of byte that contains the response entity body data. -
-- - willBlock -
-- - true if this method blocks execution while flushing the stream to the client; otherwise, false. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- responseEntity is null. - -- -- ObjectDisposedException - -- This object is closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the encoding that can be used with the entity body data included in the response. -
-Syntax
-public System.Text.Encoding ContentEncoding { get; set; }-Value
-- A System.Text.Encoding that contains the encoding that can be used with the entity body data. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object is closed. - -- -- InvalidOperationException - -- The response has been sent already. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the size of the entity body data included in the response. -
-Syntax
-public long ContentLength64 { get; set; }-Value
-- A long that contains the value of the Content-Length entity-header field. - The value is a number of bytes in the entity body data. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object is closed. - -- -- InvalidOperationException - -- The response has been sent already. - -- -- ArgumentOutOfRangeException - -- The value specified for a set operation is less than zero. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the media type of the entity body included in the response. -
-Syntax
-public string ContentType { get; set; }-Value
-- The type of the content. - A string that contains the value of the Content-Type entity-header field. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object is closed. - -- -- InvalidOperationException - -- The response has been sent already. - -- -- ArgumentNullException - -- The value specified for a set operation is null. - -- -- ArgumentException - -- The value specified for a set operation is a string.Empty. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the cookies returned with the response. -
-Syntax
-public CookieCollection Cookies { get; set; }-Value
-- A WebSocketSharp.Net.CookieCollection that contains the cookies returned with the response. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Copies properties from the specified WebSocketSharp.Net.HttpListenerResponse to this response. -
-Syntax
-public void CopyFrom (HttpListenerResponse templateResponse)-Parameters
----
-- - templateResponse -
-- - A WebSocketSharp.Net.HttpListenerResponse to copy. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the HTTP headers returned to the client. -
-Syntax
-public WebHeaderCollection Headers { get; set; }-Value
-- A WebSocketSharp.Net.WebHeaderCollection that contains the HTTP headers returned to the client. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether the server requests a persistent connection. -
-Syntax
-public bool KeepAlive { get; set; }-Value
-- true if the server requests a persistent connection; otherwise, false. - The default is true. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object is closed. - -- -- InvalidOperationException - -- The response has been sent already. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a System.IO.Stream to use to write the entity body data. -
-Syntax
-public System.IO.Stream OutputStream { get; }-Value
-- A System.IO.Stream to use to write the entity body data. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object is closed. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the HTTP version used in the response. -
-Syntax
-public Version ProtocolVersion { get; set; }-Value
-- A Version that contains the HTTP version used in the response. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object is closed. - -- -- InvalidOperationException - -- The response has been sent already. - -- -- ArgumentNullException - -- The value specified for a set operation is null. - -- -- ArgumentException - -- The value specified for a set operation does not have its Version.Major property set to 1 or - does not have its Version.Minor property set to either 0 or 1. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Configures the response to redirect the client's request to the specified url. -
-Syntax
- -Parameters
----
-- - url -
-- - A string that contains a URL to redirect the client's request to. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the URL to which the client is redirected to locate a requested resource. -
-Syntax
-public string RedirectLocation { get; set; }-Value
-- A string that contains the value of the Location response-header field. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object is closed. - -- -- InvalidOperationException - -- The response has been sent already. - -- -- ArgumentException - -- The value specified for a set operation is a string.Empty. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether the response uses the chunked transfer encoding. -
-Syntax
-public bool SendChunked { get; set; }-Value
-- true if the response uses the chunked transfer encoding; otherwise, false. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object is closed. - -- -- InvalidOperationException - -- The response has been sent already. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Adds or updates a WebSocketSharp.Net.Cookie in the HttpListenerResponse.Cookies sent with the response. -
-Syntax
- -Parameters
----
-- - cookie -
-- - A WebSocketSharp.Net.Cookie to set. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- cookie is null. - -- -- ArgumentException - -- cookie already exists in the HttpListenerResponse.Cookies and - could not be replaced. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the HTTP status code returned to the client. -
-Syntax
-public int StatusCode { get; set; }-Value
-- An int that indicates the HTTP status code for the response to the request. - The default is HttpStatusCode.OK. --Exceptions
----
-- -Type -Reason -- -- ObjectDisposedException - -- This object is closed. - -- -- InvalidOperationException - -- The response has been sent already. - -- -- System.Net.ProtocolViolationException - -- The value specified for a set operation is invalid. Valid values are between 100 and 999. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a description of the HTTP status code returned to the client. -
-Syntax
-public string StatusDescription { get; set; }-Value
-- A string that contains a description of the HTTP status code returned to the client. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Releases all resource used by the WebSocketSharp.Net.HttpListenerResponse. -
-Syntax
-- void System.IDisposable.Dispose ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Contains the values of the HTTP status codes. -
-Member Name | -Description | -
---|---|
- Accepted - | -- Equivalent to status code 202. Indicates that the client's request has been accepted for processing, - but the processing has not been completed. - | -
- Ambiguous - | -
- - Equivalent to status code 300. Indicates that the requested resource corresponds to - any one of multiple representations. - -- Ambiguous is a synonym for MultipleChoices. - - |
-
- BadGateway - | -- Equivalent to status code 502. Indicates that a gateway or proxy server received an invalid response - from the upstream server. - | -
- BadRequest - | -- Equivalent to status code 400. Indicates that the client's request could not be understood - by the server due to malformed syntax. - | -
- Conflict - | -- Equivalent to status code 409. Indicates that the client's request could not be completed - due to a conflict on the server. - | -
- Continue - | -- Equivalent to status code 100. Indicates that the client should continue with its request. - | -
- Created - | -- Equivalent to status code 201. Indicates that the client's request has been fulfilled - and resulted in a new resource being created. - | -
- ExpectationFailed - | -- Equivalent to status code 417. Indicates that the expectation given in an Expect request header field - could not be met by the server. - | -
- Forbidden - | -- Equivalent to status code 403. Indicates that the server understood the client's request - but is refusing to fulfill it. - | -
- Found - | -
- - Equivalent to status code 302. Indicates that the requested resource is located temporarily - under a different URI. - -- Found is a synonym for Redirect. - - |
-
- GatewayTimeout - | -- 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. - | -
- Gone - | -- Equivalent to status code 410. Indicates that the requested resource is no longer available - at the server and no forwarding address is known. - | -
- HttpVersionNotSupported - | -- Equivalent to status code 505. Indicates that the server does not support the HTTP version - used in the client's request. - | -
- InternalServerError - | -- Equivalent to status code 500. Indicates that the server encountered an unexpected condition - which prevented it from fulfilling the client's request. - | -
- LengthRequired - | -- Equivalent to status code 411. Indicates that the server refuses to accept the client's request - without a defined Content-Length. - | -
- MethodNotAllowed - | -- 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. - | -
- Moved - | -
- - 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. - - |
-
- MovedPermanently - | -
- - 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. - - |
-
- MultipleChoices - | -
- - Equivalent to status code 300. Indicates that the requested resource corresponds to - any one of multiple representations. - -- MultipleChoices is a synonym for Ambiguous. - - |
-
- NoContent - | -- Equivalent to status code 204. Indicates that the server has fulfilled the client's request - but does not need to return an entity-body. - | -
- NonAuthoritativeInformation - | -- Equivalent to status code 203. Indicates that the returned metainformation is from a local or a third-party copy instead of the origin server. - | -
- NotAcceptable - | -- 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. - | -
- NotFound - | -- Equivalent to status code 404. Indicates that the server has not found anything - matching the request URI. - | -
- NotImplemented - | -- Equivalent to status code 501. Indicates that the server does not support the functionality - required to fulfill the client's request. - | -
- NotModified - | -- 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. - | -
- OK - | -- Equivalent to status code 200. Indicates that the client's request has succeeded. - | -
- PartialContent - | -- Equivalent to status code 206. Indicates that the server has fulfilled the partial GET request for the resource. - | -
- PaymentRequired - | -- Equivalent to status code 402. This code is reserved for future use. - | -
- PreconditionFailed - | -- 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. - | -
- ProxyAuthenticationRequired - | -- Equivalent to status code 407. Indicates that the client must first authenticate itself with the proxy. - | -
- Redirect - | -
- - Equivalent to status code 302. Indicates that the requested resource is located temporarily - under a different URI. - -- Redirect is a synonym for Found. - - |
-
- RedirectKeepVerb - | -
- - Equivalent to status code 307. Indicates that the requested resource is located temporarily - under a different URI. - -- RedirectKeepVerb is a synonym for TemporaryRedirect. - - |
-
- RedirectMethod - | -
- - 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. - - |
-
- RequestedRangeNotSatisfiable - | -- 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. - | -
- RequestEntityTooLarge - | -- Equivalent to status code 413. Indicates that the client's request entity is larger - than the server is willing or able to process. - | -
- RequestTimeout - | -- Equivalent to status code 408. Indicates that the client did not produce a request - within the time that the server was prepared to wait. - | -
- RequestUriTooLong - | -- Equivalent to status code 414. Indicates that the request URI is longer - than the server is willing to interpret. - | -
- ResetContent - | -- 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. - | -
- SeeOther - | -
- - 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. - - |
-
- ServiceUnavailable - | -- 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. - | -
- SwitchingProtocols - | -- Equivalent to status code 101. Indicates that the server is switching the HTTP version or protocol on the connection. - | -
- TemporaryRedirect - | -
- - Equivalent to status code 307. Indicates that the requested resource is located temporarily - under a different URI. - -- TemporaryRedirect is a synonym for RedirectKeepVerb. - - |
-
- Unauthorized - | -- Equivalent to status code 401. Indicates that the client's request requires user authentication. - | -
- UnsupportedMediaType - | -- 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. - | -
- Unused - | -- 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. - | -
- UseProxy - | -- Equivalent to status code 305. Indicates that the requested resource must be accessed - through the proxy given by the Location field. - | -
- Provides the HTTP version numbers. -
-- See Also: Inherited members from - object. -
-
-
-
- |
-
-
-
- HttpVersion
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Net.HttpVersion class. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Initializes a new instance of the WebSocketSharp.Net.HttpVersion class. -
-Syntax
-public HttpVersion ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Provides a Version instance for HTTP 1.0. -
-Syntax
-public static readonly Version Version10-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Provides a Version instance for HTTP 1.1. -
-Syntax
-public static readonly Version Version11-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides a collection of the HTTP headers associated with a request or response. -
-- See Also: Inherited members from - System.Collections.Specialized.NameValueCollection. -
-
-
-
- |
-
-
-
- WebHeaderCollection
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Net.WebHeaderCollection class. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Net.WebHeaderCollection class - with the specified System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext. - | -
[read-only] override |
- - - AllKeys - - | -- - string[]. - Gets all header names in the collection. - | -
[read-only] override |
- - - Count - - | -- - int - . - Gets the number of headers in the collection. - | -
-
- default property
-
-
-
- |
- - - Item - (System.Net.HttpRequestHeader) | -- - string - . - Gets or sets the specified request header in the collection. - | -
-
- default property
-
-
-
- |
- - - Item - (System.Net.HttpResponseHeader) | -- - string - . - Gets or sets the specified response header in the collection. - | -
[read-only] override |
- - - Keys - - | -- - System.Collections.Specialized.NameObjectCollectionBase.KeysCollection - . - Gets a collection of header names in the collection. - | -
-
-
- |
-
-
- Add
- (string)- Adds the specified header to the collection. - |
- |
-
-
- |
-
-
- Add
- (System.Net.HttpRequestHeader, string)- Adds the specified request header with the specified value to the collection. - |
- |
-
-
- |
-
-
- Add
- (System.Net.HttpResponseHeader, string)- Adds the specified response header with the specified value to the collection. - |
- |
- override
- |
-
-
- Add
- (string, string)- Adds a header with the specified name and value to the collection. - |
- |
- override
- |
-
-
- Clear
- ()- Removes all headers from the collection. - |
- |
- override
- |
-
-
- Get
- (int)- Get the value of the header with the specified index in the collection. - |
- |
- override
- |
-
-
- Get
- (string)- Get the value of the header with the specified name in the collection. - |
- |
- override
- |
-
-
- GetEnumerator
- ()- Gets the enumerator to use to iterate through the WebSocketSharp.Net.WebHeaderCollection. - |
- |
- override
- |
-
-
- GetKey
- (int)- Get the header name at the specified index position in the collection. - |
- |
- override
- |
-
-
- GetObjectData
- (System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)- Populates the specified System.Runtime.Serialization.SerializationInfo with the data to need to - serialize the WebSocketSharp.Net.WebHeaderCollection object. - |
- |
- override
- |
-
-
- GetValues
- (int)- Gets an array of header values stored in the specified index position of the header collection. - |
- |
- override
- |
-
-
- GetValues
- (string)- Gets an array of header values stored in the specified header name. - |
- |
- static
- |
-
-
- IsRestricted
- (string)- Determines whether the specified header can be set for the request. - |
- |
- static
- |
-
-
- IsRestricted
- (string, bool)- Determines whether the specified header can be set for the request or the response. - |
- |
- override
- |
-
-
- OnDeserialization
- (object)- Implements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event - when the deserialization is complete. - |
- |
-
-
- |
-
-
- Remove
- (System.Net.HttpRequestHeader)- Removes the specified header from the collection. - |
- |
-
-
- |
-
-
- Remove
- (System.Net.HttpResponseHeader)- Removes the specified header from the collection. - |
- |
- override
- |
-
-
- Remove
- (string)- Removes the specified header from the collection. - |
- |
-
-
- |
-
-
- Set
- (System.Net.HttpRequestHeader, string)- Sets the specified header to the specified value. - |
- |
-
-
- |
-
-
- Set
- (System.Net.HttpResponseHeader, string)- Sets the specified header to the specified value. - |
- |
- override
- |
-
-
- Set
- (string, string)- Sets the specified header to the specified value. - |
- |
-
-
- |
-
-
- ToByteArray
- ()- Converts the current WebSocketSharp.Net.WebHeaderCollection to an array of byte. - |
- |
- override
- |
-
-
- ToString
- ()- Returns a string that represents the current WebSocketSharp.Net.WebHeaderCollection. - |
-
-
-
- |
-
-
- AddWithoutValidate
- (string, string)- Adds a header to the collection without checking whether the header is on the restricted header list. - |
-
-
-
- |
- - - System.Runtime.Serialization.ISerializable.GetObjectData - - | -- Populates the specified System.Runtime.Serialization.SerializationInfo with the data to need to - serialize the WebSocketSharp.Net.WebHeaderCollection object. - | -
- static
- |
-
-
- Exists
- (this System.Collections.Specialized.NameValueCollection, string)- Determines whether the entry with the specified key exists in the specified System.Collections.Specialized.NameValueCollection. - |
- |
- static
- |
-
-
- Exists
- (this System.Collections.Specialized.NameValueCollection, string, string)- Determines whether the entry with the specified both key and value exists in the specified System.Collections.Specialized.NameValueCollection. - |
- |
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Initializes a new instance of the WebSocketSharp.Net.WebHeaderCollection class. -
-Syntax
-public WebHeaderCollection ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Net.WebHeaderCollection class - with the specified System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext. -
-Syntax
-protected WebHeaderCollection (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext)-Parameters
----
-- - serializationInfo -
-- - A System.Runtime.Serialization.SerializationInfo that contains the data to need to serialize the WebSocketSharp.Net.WebHeaderCollection object. -
-- - streamingContext -
-- - A System.Runtime.Serialization.StreamingContext that contains the source of the serialized stream associated with the new WebSocketSharp.Net.WebHeaderCollection. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- serializationInfo is null. - -- -- ArgumentException - -- An element with the specified name is not found in serializationInfo. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Adds the specified header to the collection. -
-Syntax
- -Parameters
----
-- - header -
-- - A string that contains a header with the name and value separated by a colon (:). -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- header is null, string.Empty, or - the name part of header is string.Empty. - -- -- ArgumentException - -- -- header does not contain a colon. -
-- -or- -
-- header is a restricted header. -
-- -or- -
-- The name or value part of header contains invalid characters. -
-- -- ArgumentOutOfRangeException - -- The length of the value part of header is greater than 65535. - -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow the header. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Adds the specified request header with the specified value to the collection. -
-Syntax
- -Parameters
----
-- - header -
-- - A System.Net.HttpRequestHeader is a request header to add. -
-- - value -
-- - A string that contains the value of the header to add. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentOutOfRangeException - -- The length of value is greater than 65535. - -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow any of System.Net.HttpRequestHeader values. - -- -- ArgumentException - -- -- header is a restricted header. -
-- -or- -
-- value contains invalid characters. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Adds the specified response header with the specified value to the collection. -
-Syntax
- -Parameters
----
-- - header -
-- - A System.Net.HttpResponseHeader is a response header to add. -
-- - value -
-- - A string that contains the value of the header to add. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentOutOfRangeException - -- The length of value is greater than 65535. - -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow any of System.Net.HttpResponseHeader values. - -- -- ArgumentException - -- -- header is a restricted header. -
-- -or- -
-- value contains invalid characters. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Adds a header with the specified name and value to the collection. -
-Syntax
- -Parameters
-- --Exceptions
----
-- -Type -Reason -- -- ArgumentException - -- -- name or value contains invalid characters. -
-- -or- -
-- name is a restricted header name. -
-- -- ArgumentOutOfRangeException - -- The length of value is greater than 65535. - -- -- ArgumentNullException - -- name is null or string.Empty. - -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow the header name. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Adds a header to the collection without checking whether the header is on the restricted header list. -
-Syntax
- -Parameters
-- --Exceptions
----
-- -Type -Reason -- -- ArgumentException - -- headerName or headerValue contains invalid characters. - -- -- ArgumentNullException - -- headerName is null or string.Empty. - -- -- ArgumentOutOfRangeException - -- The length of headerValue is greater than 65535. - -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow the headerName. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets all header names in the collection. -
-Syntax
-public override string[] AllKeys { get; }-Value
-- An array of string that contains all header names in the collection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Removes all headers from the collection. -
-Syntax
-public override void Clear ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the number of headers in the collection. -
-Syntax
-public override int Count { get; }-Value
-- An int that indicates the number of headers in the collection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Get the value of the header with the specified index in the collection. -
-Syntax
- -Parameters
----
-- - index -
-- - An int that is the zero-based index of the header to get. -
-Returns
-- A string that receives the value of the header. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Get the value of the header with the specified name in the collection. -
-Syntax
- -Parameters
----
-- - name -
-- - A string that contains the name of the header to get. -
-Returns
-- A string that receives the value of the header. - null if there is no header with name in the collection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the enumerator to use to iterate through the WebSocketSharp.Net.WebHeaderCollection. -
-Syntax
-public override IEnumerator GetEnumerator ()-Returns
-- An instance of an implementation of the IEnumerator interface - to use to iterate through the WebSocketSharp.Net.WebHeaderCollection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Get the header name at the specified index position in the collection. -
-Syntax
- -Parameters
----
-- - index -
-- - An int is the zero-based index of the key to get from the collection. -
-Returns
-- A string that receives the header name. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Populates the specified System.Runtime.Serialization.SerializationInfo with the data to need to - serialize the WebSocketSharp.Net.WebHeaderCollection object. -
-Syntax
-public override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext)-Parameters
----
-- - serializationInfo -
-- - A System.Runtime.Serialization.SerializationInfo that holds the data to need to serialize the WebSocketSharp.Net.WebHeaderCollection object. -
-- - streamingContext -
-- - A System.Runtime.Serialization.StreamingContext that specifies the destination for the serialization. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- serializationInfo is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets an array of header values stored in the specified index position of the header collection. -
-Syntax
- -Parameters
----
-- - index -
-- - An int is the zero-based index of the header in the collection. -
-Returns
-- An array of string that receives the header values. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets an array of header values stored in the specified header name. -
-Syntax
- -Parameters
----
-- - header -
-- - A string that contains a header name. -
-Returns
-- An array of string that receives the header values. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified header can be set for the request. -
-Syntax
- -Parameters
----
-- - headerName -
-- - A string that contains the name of the header to test. -
-Returns
-- true if the header is restricted; otherwise, false. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- headerName is null or string.Empty. - -- -- ArgumentException - -- headerName contains invalid characters. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified header can be set for the request or the response. -
-Syntax
- -Parameters
----
-- - headerName -
-- - A string that contains the name of the header to test. -
-- - response -
-- - true if does the test for the response; for the request, false. -
-Returns
-- true if the header is restricted; otherwise, false. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- headerName is null or string.Empty. - -- -- ArgumentException - -- headerName contains invalid characters. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the specified request header in the collection. -
-Syntax
---- This is the default property for this class. -
public string this [System.Net.HttpRequestHeader header] { get; set; }Parameters
----
-- - header -
-- - A System.Net.HttpRequestHeader that indicates a request header. -
-Value
-- A string that contains the value of the specified request header. --Exceptions
----
-- -Type -Reason -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow any of System.Net.HttpRequestHeader values. - -- -- ArgumentException - -- -- header is a restricted header. -
-- -or- -
-- value contains invalid characters. -
-- -- ArgumentOutOfRangeException - -- The length of value is greater than 65535. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the specified response header in the collection. -
-Syntax
---- This is the default property for this class. -
public string this [System.Net.HttpResponseHeader header] { get; set; }Parameters
----
-- - header -
-- - A System.Net.HttpResponseHeader that indicates a response header. -
-Value
-- A string that contains the value of the specified response header. --Exceptions
----
-- -Type -Reason -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow any of System.Net.HttpResponseHeader values. - -- -- ArgumentException - -- -- header is a restricted header. -
-- -or- -
-- value contains invalid characters. -
-- -- ArgumentOutOfRangeException - -- The length of value is greater than 65535. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a collection of header names in the collection. -
-Syntax
-public override System.Collections.Specialized.NameObjectCollectionBase.KeysCollection Keys { get; }-Value
-- A System.Collections.Specialized.NameObjectCollectionBase.KeysCollection that contains a collection of header names in the collection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Implements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event - when the deserialization is complete. -
-Syntax
- -Parameters
----
-- - sender -
-- - An object that contains the source of the deserialization event. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Removes the specified header from the collection. -
-Syntax
-public void Remove (System.Net.HttpRequestHeader header)-Parameters
----
-- - header -
-- - A System.Net.HttpRequestHeader to remove from the collection. -
-Exceptions
----
-- -Type -Reason -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow any of System.Net.HttpRequestHeader values. - -- -- ArgumentException - -- header is a restricted header. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Removes the specified header from the collection. -
-Syntax
-public void Remove (System.Net.HttpResponseHeader header)-Parameters
----
-- - header -
-- - A System.Net.HttpResponseHeader to remove from the collection. -
-Exceptions
----
-- -Type -Reason -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow any of System.Net.HttpResponseHeader values. - -- -- ArgumentException - -- header is a restricted header. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Removes the specified header from the collection. -
-Syntax
- -Parameters
----
-- - name -
-- - A string that contains the name of the header to remove from the collection. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- name is null or string.Empty. - -- -- ArgumentException - -- -- name contains invalid characters. -
-- -or- -
-- name is a restricted header name. -
-- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow the header name. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sets the specified header to the specified value. -
-Syntax
- -Parameters
----
-- - header -
-- - A System.Net.HttpRequestHeader to set. -
-- - value -
-- - A string that contains the value of the header to set. -
-Exceptions
----
-- -Type -Reason -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow any of System.Net.HttpRequestHeader values. - -- -- ArgumentException - -- -- header is a restricted header. -
-- -or- -
-- value contains invalid characters. -
-- -- ArgumentOutOfRangeException - -- The length of value is greater than 65535. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sets the specified header to the specified value. -
-Syntax
- -Parameters
----
-- - header -
-- - A System.Net.HttpResponseHeader to set. -
-- - value -
-- - A string that contains the value of the header to set. -
-Exceptions
----
-- -Type -Reason -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow any of System.Net.HttpResponseHeader values. - -- -- ArgumentException - -- -- header is a restricted header. -
-- -or- -
-- value contains invalid characters. -
-- -- ArgumentOutOfRangeException - -- The length of value is greater than 65535. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sets the specified header to the specified value. -
-Syntax
- -Parameters
-- --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- name is null or string.Empty. - -- -- ArgumentException - -- -- name or value contain invalid characters. -
-- -or- -
-- name is a restricted header name. -
-- -- ArgumentOutOfRangeException - -- The length of value is greater than 65535. - -- -- InvalidOperationException - -- The current WebSocketSharp.Net.WebHeaderCollection instance does not allow the header name. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Populates the specified System.Runtime.Serialization.SerializationInfo with the data to need to - serialize the WebSocketSharp.Net.WebHeaderCollection object. -
-Syntax
-- void System.Runtime.Serialization.ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext)-Parameters
----
-- - serializationInfo -
-- - A System.Runtime.Serialization.SerializationInfo that holds the data to need to serialize the WebSocketSharp.Net.WebHeaderCollection object. -
-- - streamingContext -
-- - A System.Runtime.Serialization.StreamingContext that specifies the destination for the serialization. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- serializationInfo is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Converts the current WebSocketSharp.Net.WebHeaderCollection to an array of byte. -
-Syntax
-public byte[] ToByteArray ()-Returns
-- An array of byte that receives the converted current WebSocketSharp.Net.WebHeaderCollection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Returns a string that represents the current WebSocketSharp.Net.WebHeaderCollection. -
-Syntax
-public override string ToString ()-Returns
-- A string that represents the current WebSocketSharp.Net.WebHeaderCollection. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Net-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
-
-The WebSocketSharp.Net namespace contains some modified classes and enumerations in the System.Net namespace (e.g. System.Net.HttpListenerContext) to accept the WebSocket connection requests.
-Type | -Description | -
---|---|
- AuthenticationSchemes - | -- Contains the values of the schemes for authentication. - | -
- AuthenticationSchemeSelector - | -- Selects the authentication scheme for a WebSocketSharp.Net.HttpListener instance. - | -
- Cookie - | -- Provides a set of properties and methods used to manage an HTTP Cookie. - | -
- CookieCollection - | -- Provides a collection container for instances of the WebSocketSharp.Net.Cookie class. - | -
- CookieException - | -- The exception that is thrown when a WebSocketSharp.Net.Cookie gets an error. - | -
- HttpListener - | -- Provides a simple, programmatically controlled HTTP listener. - | -
- HttpListenerContext - | -- Provides access to the HTTP request and response objects used by the WebSocketSharp.Net.HttpListener class. - | -
- HttpListenerException - | -- The exception that is thrown when an error occurs processing an HTTP request. - | -
- HttpListenerPrefixCollection - | -- Provides the collection used to store the URI prefixes for the WebSocketSharp.Net.HttpListener. - | -
- HttpListenerRequest - | -- Provides access to a request to a WebSocketSharp.Net.HttpListener instance. - | -
- HttpListenerResponse - | -- Provides access to a response to a request being processed by a WebSocketSharp.Net.HttpListener instance. - | -
- HttpStatusCode - | -- Contains the values of the HTTP status codes. - | -
- HttpVersion - | -- Provides the HTTP version numbers. - | -
- WebHeaderCollection - | -- Provides a collection of the HTTP headers associated with a request or response. - | -
- Contains the event data associated with the HTTP request events of the WebSocketSharp.Server.HttpServer class. -
-- See Also: Inherited members from - EventArgs. -
-[read-only] | -- - Request - - | -- - WebSocketSharp.Net.HttpListenerRequest - . - Gets the HTTP request objects sent from a client. - | -
[read-only] | -- - Response - - | -- - WebSocketSharp.Net.HttpListenerResponse - . - Gets the HTTP response objects to send to the client in response to the client's request. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Gets the HTTP request objects sent from a client. -
-Syntax
-public WebSocketSharp.Net.HttpListenerRequest Request { get; }-Value
-- A WebSocketSharp.Net.HttpListenerRequest that contains the HTTP request objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- 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
-- A WebSocketSharp.Net.HttpListenerResponse that contains the HTTP response objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides 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 Example - - | -
- - <?xml version="1.0" encoding="utf-8"?> - <configuration> - <appSettings> - <add key="RootPath" value="./Public" /> - </appSettings> - </configuration> -- |
-
- See Also: Inherited members from - object. -
-
-
-
- |
-
-
-
- HttpServer
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Server.HttpServer class that listens for incoming requests - on port 80. - | -
-
-
- |
-
-
-
- HttpServer
- (int)
- |
- - Initializes a new instance of the WebSocketSharp.Server.HttpServer class that listens for incoming requests - on the specified port. - | -
[read-only] | -- - Port - - | -- - int - . - Gets the port on which to listen for incoming requests. - | -
[read-only] | -- - ServicePaths - - | -- - IEnumerable<string> - . - Gets the collection of paths associated with the every WebSocket services that the server provides. - | -
-
-
- |
- - - Sweeping - - | -- - bool - . - Gets or sets a value indicating whether the server cleans up the inactive WebSocket service - instances periodically. - | -
-
-
- |
-
-
- AddWebSocketService<T>
- (string)- Adds the specified type WebSocket service. - |
- |
-
-
- |
-
-
- GetFile
- (string)- Gets the contents of the specified file. - |
- |
-
-
- |
-
-
- Start
- ()- Starts the WebSocketSharp.Server.HttpServer. - |
- |
-
-
- |
-
-
- Stop
- ()- Shuts down the WebSocketSharp.Server.HttpServer. - |
-
-
-
- |
- - - OnConnect - - | -- Occurs when the server receives an HTTP CONNECT request. - | -
-
-
- |
- - - OnDelete - - | -- Occurs when the server receives an HTTP DELETE request. - | -
-
-
- |
- - - OnError - - | -- Occurs when the server gets an error. - | -
-
-
- |
- - - OnGet - - | -- Occurs when the server receives an HTTP GET request. - | -
-
-
- |
- - - OnHead - - | -- Occurs when the server receives an HTTP HEAD request. - | -
-
-
- |
- - - OnOptions - - | -- Occurs when the server receives an HTTP OPTIONS request. - | -
-
-
- |
- - - OnPatch - - | -- Occurs when the server receives an HTTP PATCH request. - | -
-
-
- |
- - - OnPost - - | -- Occurs when the server receives an HTTP POST request. - | -
-
-
- |
- - - OnPut - - | -- Occurs when the server receives an HTTP PUT request. - | -
-
-
- |
- - - OnTrace - - | -- Occurs when the server receives an HTTP TRACE request. - | -
--- Initializes a new instance of the WebSocketSharp.Server.HttpServer class that listens for incoming requests - on port 80. -
-Syntax
-public HttpServer ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- 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
----
-- - port -
-- - An int that contains a port number. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Adds the specified type WebSocket service. -
-Syntax
-public void AddWebSocketService<T> (string absPath)-
where T : WebSocketSharp.Server.WebSocketService, new()Type Parameters
----
-- - T -
-- - The type of the WebSocket service. The T must inherit the WebSocketSharp.Server.WebSocketService class. -
-Parameters
----
-- - absPath -
-- - 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)
-
--- Gets the contents of the specified file. -
-Syntax
- -Parameters
----
-- - path -
-- - A string that contains a virtual path to the file to get. -
-Returns
-- An array of byte that contains the contents of the file. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server receives an HTTP CONNECT request. -
-Syntax
-public event EventHandler<HttpRequestEventArgs> OnConnect-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server receives an HTTP DELETE request. -
-Syntax
-public event EventHandler<HttpRequestEventArgs> OnDelete-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server gets an error. -
-Syntax
-public event EventHandler<WebSocketSharp.ErrorEventArgs> OnError-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server receives an HTTP GET request. -
-Syntax
-public event EventHandler<HttpRequestEventArgs> OnGet-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server receives an HTTP HEAD request. -
-Syntax
-public event EventHandler<HttpRequestEventArgs> OnHead-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server receives an HTTP OPTIONS request. -
-Syntax
-public event EventHandler<HttpRequestEventArgs> OnOptions-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server receives an HTTP PATCH request. -
-Syntax
-public event EventHandler<HttpRequestEventArgs> OnPatch-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server receives an HTTP POST request. -
-Syntax
-public event EventHandler<HttpRequestEventArgs> OnPost-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server receives an HTTP PUT request. -
-Syntax
-public event EventHandler<HttpRequestEventArgs> OnPut-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server receives an HTTP TRACE request. -
-Syntax
-public event EventHandler<HttpRequestEventArgs> OnTrace-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the port on which to listen for incoming requests. -
-Syntax
-public int Port { get; }-Value
-- An int that contains a port number. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the collection of paths associated with the every WebSocket services that the server provides. -
-Syntax
-public IEnumerable<string> ServicePaths { get; }-Value
-- An IEnumerable<string> that contains the collection of paths. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Starts the WebSocketSharp.Server.HttpServer. -
-Syntax
-public void Start ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Shuts down the WebSocketSharp.Server.HttpServer. -
-Syntax
-public void Stop ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether the server cleans up the inactive WebSocket service - instances periodically. -
-Syntax
-public bool Sweeping { get; set; }-Value
-- 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. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Exposes the methods and properties for the WebSocket service host. -
-
-
-
- |
-
-
- BindWebSocket
- (WebSocketSharp.Net.WebSockets.WebSocketContext)- Binds the specified WebSocketSharp.Net.WebSockets.WebSocketContext to a WebSocketSharp.Server.WebSocketService instance. - |
- |
-
-
- |
-
-
- Broadcast
- (string)- Broadcasts the specified string to all service clients. - |
- |
-
-
- |
-
-
- Start
- ()- Starts the WebSocket service host. - |
- |
-
-
- |
-
-
- Stop
- ()- Stops the WebSocket service host. - |
-
--- Binds the specified WebSocketSharp.Net.WebSockets.WebSocketContext to a WebSocketSharp.Server.WebSocketService instance. -
-Syntax
-public void BindWebSocket (WebSocketSharp.Net.WebSockets.WebSocketContext context)-Parameters
----
-- - context -
-- - A WebSocketSharp.Net.WebSockets.WebSocketContext that contains the WebSocket connection request objects to bind. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Broadcasts the specified string to all service clients. -
-Syntax
- -Parameters
----
-- - data -
-- - A string to broadcast. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Starts the WebSocket service host. -
-Syntax
-public void Start ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Stops the WebSocket service host. -
-Syntax
-public void Stop ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service - instances periodically. -
-Syntax
-public bool Sweeping { get; set; }-Value
-- true if the WebSocket service host cleans up the inactive service instances periodically; - otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Contains the event data associated with the request events of the WebSocketSharp.Server.HttpServer class. -
-- See Also: Inherited members from - EventArgs. -
-[read-only] | -- - Request - - | -- - WebSocketSharp.Net.HttpListenerRequest - . - Gets the HTTP request objects sent from a client. - | -
[read-only] | -- - Response - - | -- - WebSocketSharp.Net.HttpListenerResponse - . - Gets the HTTP response objects to send to the client in response to the client's request. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Gets the HTTP request objects sent from a client. -
-Syntax
-public WebSocketSharp.Net.HttpListenerRequest Request { get; }-Value
-- A WebSocketSharp.Net.HttpListenerRequest that contains the HTTP request objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- 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
-- A WebSocketSharp.Net.HttpListenerResponse that contains the HTTP response objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Contains the event data associated with the response events of the WebSocketSharp.Server.HttpServer class. -
-- See Also: Inherited members from - EventArgs. -
-[read-only] | -- - Request - - | -- - WebSocketSharp.Net.HttpListenerRequest - . - Gets the HTTP request objects sent from a client. - | -
[read-only] | -- - Response - - | -- - WebSocketSharp.Net.HttpListenerResponse - . - Gets the HTTP response objects to send to the client in response to the client's request. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Gets the HTTP request objects sent from a client. -
-Syntax
-public WebSocketSharp.Net.HttpListenerRequest Request { get; }-Value
-- A WebSocketSharp.Net.HttpListenerRequest that contains the HTTP request objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- 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
-- A WebSocketSharp.Net.HttpListenerResponse that contains the HTTP response objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Documentation for this section has not yet been entered. -
-- See Also: Inherited members from - object. -
-
-
-
- |
-
-
-
- ServiceManager
- ()
- |
- - Documentation for this section has not yet been entered. - | -
[read-only] | -- - Count - - | -- - int - . Documentation for this section has not yet been entered. | -
[read-only] | -- - Path - - | -- - IEnumerable<string> - . Documentation for this section has not yet been entered. | -
[read-only] | -- - ServiceHost - - | -- - IEnumerable<IServiceHost> - . Documentation for this section has not yet been entered. | -
-
-
- |
- - - Sweeped - - | -- - bool - . Documentation for this section has not yet been entered. | -
-
-
- |
-
-
- Add
- (string, IServiceHost)Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- Broadcast
- (string)Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- Stop
- ()Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- TryGetServiceHost
- (string, out IServiceHost)Documentation for this section has not yet been entered. |
-
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public ServiceManager ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Documentation for this section has not yet been entered. -
-Syntax
- -Parameters
----
-- - absPath -
-- - Documentation for this section has not yet been entered. -
-- - svcHost -
-- - 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
- -Parameters
----
-- - data -
-- - 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public int Count { get; }-Value
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public IEnumerable<string> Path { get; }-Value
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public IEnumerable<IServiceHost> ServiceHost { get; }-Value
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public void Stop ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public bool Sweeped { get; set; }-Value
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
- -Parameters
----
-- - absPath -
-- - Documentation for this section has not yet been entered. -
-- - svcHost -
-- - Documentation for this section has not yet been entered. -
-Returns
-- 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)
-
- Documentation for this section has not yet been entered. -
-- See Also: Inherited members from - object. -
-
-
-
- |
-
-
-
- SessionManager
- ()
- |
- - Documentation for this section has not yet been entered. - | -
[read-only] | -- - ActiveID - - | -- - IEnumerable<string> - . Documentation for this section has not yet been entered. | -
[read-only] | -- - Count - - | -- - int - . Documentation for this section has not yet been entered. | -
[read-only] | -- - ID - - | -- - IEnumerable<string> - . Documentation for this section has not yet been entered. | -
[read-only] | -- - InactiveID - - | -- - IEnumerable<string> - . Documentation for this section has not yet been entered. | -
-
-
- |
- - - Sweeped - - | -- - bool - . Documentation for this section has not yet been entered. | -
[read-only] | -- - SyncRoot - - | -- - object - . Documentation for this section has not yet been entered. | -
-
-
- |
-
-
- Add
- (WebSocketService)Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- Broadcast
- (byte[])Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- Broadcast
- (string)Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- Broadping
- (string)Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- Remove
- (string)Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- Stop
- ()Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- Stop
- (WebSocketSharp.CloseStatusCode, string)Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- Sweep
- ()Documentation for this section has not yet been entered. |
- |
-
-
- |
-
-
- TryGetByID
- (string, out WebSocketService)Documentation for this section has not yet been entered. |
-
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public SessionManager ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public IEnumerable<string> ActiveID { get; }-Value
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public string Add (WebSocketService service)-Parameters
----
-- - service -
-- - Documentation for this section has not yet been entered. -
-Returns
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
- -Parameters
----
-- - data -
-- - 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
- -Parameters
----
-- - data -
-- - 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public Dictionary<string, bool> Broadping (string message)-Parameters
----
-- - message -
-- - Documentation for this section has not yet been entered. -
-Returns
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public int Count { get; }-Value
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public IEnumerable<string> ID { get; }-Value
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public IEnumerable<string> InactiveID { get; }-Value
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
- -Parameters
----
-- - id -
-- - Documentation for this section has not yet been entered. -
-Returns
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public void Stop ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Documentation for this section has not yet been entered. -
-Syntax
- -Parameters
----
-- - code -
-- - Documentation for this section has not yet been entered. -
-- - reason -
-- - 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public void Sweep ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public bool Sweeped { get; set; }-Value
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public object SyncRoot { get; }-Value
-- 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)
-
--- Documentation for this section has not yet been entered. -
-Syntax
- -Parameters
----
-- - id -
-- - Documentation for this section has not yet been entered. -
-- - service -
-- - Documentation for this section has not yet been entered. -
-Returns
-- 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)
-
- Provides the functions of the server that receives the WebSocket connection requests. -
-- See Also: Inherited members from - WebSocketServerBase. -
-
-
-
- |
-
-
-
- WebSocketServer
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class. - | -
-
-
- |
-
-
-
- WebSocketServer
- (int)
- |
- - Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class that listens for incoming connection attempts - on the specified port. - | -
-
-
- |
-
-
-
- WebSocketServer
- (string)
- |
- - Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class that listens for incoming connection attempts - on the specified WebSocket URL. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class that listens for incoming connection attempts - on the specified port and secure. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class that listens for incoming connection attempts - on the specified address and port. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class that listens for incoming connection attempts - on the specified address, port and secure. - | -
[read-only] | -- - Address - - | -- - System.Net.IPAddress - . - Gets the local IP address on which to listen for incoming connection attempts. - (Inherited from WebSocketServerBase.) | -
[read-only] | -- - IsSecure - - | -- - bool - . - Gets a value indicating whether the server provides secure connection. - (Inherited from WebSocketServerBase.) | -
[read-only] | -- - IsSelfHost - - | -- - bool - . - Gets a value indicating whether the server is self host. - (Inherited from WebSocketServerBase.) | -
[read-only] | -- - Port - - | -- - int - . - Gets the port on which to listen for incoming connection attempts. - (Inherited from WebSocketServerBase.) | -
[read-only] | -- - ServicePaths - - | -- - IEnumerable<string> - . - Gets the collection of paths associated with the every WebSocket services that the server provides. - | -
-
-
- |
- - - Sweeping - - | -- - bool - . - Gets or sets a value indicating whether the server cleans up the inactive WebSocket service - instances periodically. - | -
-
-
- |
- - - BaseUri - - | -- - Uri - . - Gets or sets the WebSocket URL on which to listen for incoming connection attempts. - (Inherited from WebSocketServerBase.) | -
-
-
- |
-
-
- AddWebSocketService<T>
- (string)- Adds the specified type WebSocket service. - |
- |
-
-
- |
-
-
- Broadcast
- (string)- Broadcasts the specified string to all clients. - |
- |
-
-
- |
-
-
- Start
- ()- Starts to receive the WebSocket connection requests. - (Inherited from WebSocketServerBase.) |
- |
- override
- |
-
-
- Stop
- ()- Stops receiving the WebSocket connection requests. - |
- |
-
-
- |
-
-
- Stop
- ()- Stops receiving the WebSocket connection requests. - (Inherited from WebSocketServerBase.) |
-
- override
- |
-
-
- AcceptWebSocket
- (WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext)- Accepts a WebSocket connection request. - |
- |
- abstract
- |
-
-
- AcceptWebSocket
- (WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext)- Accepts a WebSocket connection request. - (Inherited from WebSocketServerBase.) |
- |
-
-
- |
-
-
- Error
- (string)- Occurs the WebSocketServerBase.OnError event with the specified string. - (Inherited from WebSocketServerBase.) |
-
-
-
- |
- - - OnError - - | -- Occurs when the server gets an error. - (Inherited from WebSocketServerBase.) | -
--- Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class. -
-Syntax
-public WebSocketServer ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class that listens for incoming connection attempts - on the specified port. -
-Syntax
-public WebSocketServer (int port)-Parameters
----
-- - port -
-- - An int that contains a port number. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class that listens for incoming connection attempts - on the specified WebSocket URL. -
-Syntax
-public WebSocketServer (string url)-Parameters
----
-- - url -
-- - A string that contains a WebSocket URL. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class that listens for incoming connection attempts - on the specified port and secure. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class that listens for incoming connection attempts - on the specified address and port. -
-Syntax
-public WebSocketServer (System.Net.IPAddress address, int port)-Parameters
----
-- - address -
-- - A System.Net.IPAddress that contains a local IP address. -
-- - port -
-- - An int that contains a port number. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Server.WebSocketServer class that listens for incoming connection attempts - on the specified address, port and secure. -
-Syntax
- -Parameters
----
-- - address -
-- - A System.Net.IPAddress that contains a local IP address. -
-- - port -
-- - An int that contains a port number. -
-- - secure -
-- - A bool that indicates providing a secure connection or not. (true indicates providing a secure connection.) -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Accepts a WebSocket connection request. -
-Syntax
-protected override void AcceptWebSocket (WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext context)-Parameters
----
-- - context -
-- - A WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext that contains the WebSocket connection request objects. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Adds the specified type WebSocket service. -
-Syntax
-public void AddWebSocketService<T> (string absPath)-
where T : WebSocketSharp.Server.WebSocketService, new()Type Parameters
----
-- - T -
-- - The type of the WebSocket service. The T must inherit the WebSocketSharp.Server.WebSocketService class. -
-Parameters
----
-- - absPath -
-- - 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)
-
--- Broadcasts the specified string to all clients. -
-Syntax
- -Parameters
----
-- - data -
-- - A string to broadcast. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the collection of paths associated with the every WebSocket services that the server provides. -
-Syntax
-public IEnumerable<string> ServicePaths { get; }-Value
-- An IEnumerable<string> that contains the collection of paths. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Stops receiving the WebSocket connection requests. -
-Syntax
-public override void Stop ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether the server cleans up the inactive WebSocket service - instances periodically. -
-Syntax
-public bool Sweeping { get; set; }-Value
-- 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. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides the basic functions of the server that receives the WebSocket connection requests. -
-- See Also: Inherited members from - object. -
-
-
-
- |
-
-
-
- WebSocketServerBase
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Server.WebSocketServerBase class. - | -
-
-
- |
-
-
-
- WebSocketServerBase
- (string)
- |
- - Initializes a new instance of the WebSocketSharp.Server.WebSocketServerBase class that listens for incoming connection attempts - on the specified WebSocket URL. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.Server.WebSocketServerBase class that listens for incoming connection attempts - on the specified address, port, absPath and secure. - | -
[read-only] | -- - Address - - | -- - System.Net.IPAddress - . - Gets the local IP address on which to listen for incoming connection attempts. - | -
[read-only] | -- - IsSecure - - | -- - bool - . - Gets a value indicating whether the server provides secure connection. - | -
[read-only] | -- - IsSelfHost - - | -- - bool - . - Gets a value indicating whether the server is self host. - | -
[read-only] | -- - Port - - | -- - int - . - Gets the port on which to listen for incoming connection attempts. - | -
- abstract
- |
-
-
- AcceptWebSocket
- (WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext)- Accepts a WebSocket connection request. - |
- |
-
-
- |
-
-
- Error
- (string)- Occurs the WebSocketServerBase.OnError event with the specified string. - |
-
-
-
- |
- - - OnError - - | -- Occurs when the server gets an error. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Initializes a new instance of the WebSocketSharp.Server.WebSocketServerBase class. -
-Syntax
-protected WebSocketServerBase ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Server.WebSocketServerBase class that listens for incoming connection attempts - on the specified WebSocket URL. -
-Syntax
-protected WebSocketServerBase (string url)-Parameters
----
-- - url -
-- - A string that contains a WebSocket URL. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- url is null. - -- -- ArgumentException - -- url is invalid. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.Server.WebSocketServerBase class that listens for incoming connection attempts - on the specified address, port, absPath and secure. -
-Syntax
- -Parameters
----
-- - address -
-- - A System.Net.IPAddress that contains a local IP address. -
-- - port -
-- - An int that contains a port number. -
-- - absPath -
-- - A string that contains an absolute path. -
-- - secure -
-- - A bool that indicates providing a secure connection or not. (true indicates providing a secure connection.) -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- Either address or absPath is null. - -- -- ArgumentException - -- -- absPath is invalid. -
-- -or- -
-- Pair of port and secure is invalid. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Accepts a WebSocket connection request. -
-Syntax
-protected abstract void AcceptWebSocket (WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext context)-Parameters
----
-- - context -
-- - A WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext that contains the WebSocket connection request objects. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the local IP address on which to listen for incoming connection attempts. -
-Syntax
-public System.Net.IPAddress Address { get; }-Value
-- A System.Net.IPAddress that contains a local IP address. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the WebSocket URL on which to listen for incoming connection attempts. -
-Syntax
-protected Uri BaseUri { get; set; }-Value
-- A Uri that contains a WebSocket URL. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs the WebSocketServerBase.OnError event with the specified string. -
-Syntax
- -Parameters
----
-- - message -
-- - A string that contains an error message. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the server provides secure connection. -
-Syntax
-public bool IsSecure { get; }-Value
-- true if the server provides secure connection; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the server is self host. -
-Syntax
-public bool IsSelfHost { get; }-Value
-- true if the server is self host; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the server gets an error. -
-Syntax
-public event EventHandler<WebSocketSharp.ErrorEventArgs> OnError-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the port on which to listen for incoming connection attempts. -
-Syntax
-public int Port { get; }-Value
-- An int that contains a port number. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Starts to receive the WebSocket connection requests. -
-Syntax
-public virtual void Start ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Stops receiving the WebSocket connection requests. -
-Syntax
-public virtual void Stop ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides the basic functions of the WebSocket service. -
-- See Also: Inherited members from - object. -
-
-
-
- |
-
-
-
- WebSocketService
- ()
- |
- - Initializes a new instance of the WebSocketSharp.Server.WebSocketService class. - | -
[read-only] | -- - ID - - | -- - string - . - Gets the ID of the WebSocketSharp.Server.WebSocketService instance. - | -
[read-only] | -- - IsBound - - | -- - bool - . - Gets a value indicating whether the WebSocketSharp.Server.WebSocketService instance is bound to a WebSocketSharp.WebSocket. - | -
[read-only] | -- - QueryString - - | -- - System.Collections.Specialized.NameValueCollection - . - Gets the collection of query string variables used in the WebSocket opening handshake. - | -
[read-only] | -- - Sessions - - | -- - WebSocketServiceManager - . - Gets the sessions to the WebSocketSharp.Server.WebSocketService. - | -
-
-
- |
-
-
- Broadcast
- (byte[])- Broadcasts the specified array of byte to the clients of every WebSocketSharp.Server.WebSocketService instances - in the WebSocketService.Sessions. - |
- |
-
-
- |
-
-
- Broadcast
- (string)- Broadcasts the specified string to the clients of every WebSocketSharp.Server.WebSocketService instances - in the WebSocketService.Sessions. - |
- |
-
-
- |
-
-
- Broadping
- ()- Pings to the clients of every WebSocketSharp.Server.WebSocketService instances - in the WebSocketService.Sessions. - |
- |
-
-
- |
-
-
- Broadping
- (string)- Pings with the specified string to the clients of every WebSocketSharp.Server.WebSocketService instances - in the WebSocketService.Sessions. - |
- |
-
-
- |
-
-
- Ping
- ()- Pings to the client of the WebSocketSharp.Server.WebSocketService instance. - |
- |
-
-
- |
-
-
- Ping
- (string)- Pings with the specified string to the client of the WebSocketSharp.Server.WebSocketService instance. - |
- |
-
-
- |
-
-
- PingTo
- (string)- Pings to the client of the WebSocketSharp.Server.WebSocketService instance - associated with the specified id. - |
- |
-
-
- |
-
-
- PingTo
- (string, string)- Pings with the specified string to the client of the WebSocketSharp.Server.WebSocketService instance - associated with the specified id. - |
- |
-
-
- |
-
-
- Send
- (byte[])- Sends a binary data to the client of the WebSocketSharp.Server.WebSocketService instance. - |
- |
-
-
- |
-
-
- Send
- (string)- Sends a text data to the client of the WebSocketSharp.Server.WebSocketService instance. - |
- |
-
-
- |
-
-
- SendTo
- (string, byte[])- Sends a binary data to the client of the WebSocketSharp.Server.WebSocketService instance - associated with the specified id. - |
- |
-
-
- |
-
-
- SendTo
- (string, string)- Sends a text data to the client of the WebSocketSharp.Server.WebSocketService instance - associated with the specified id. - |
- |
-
-
- |
-
-
- Start
- ()- Starts the WebSocketSharp.Server.WebSocketService instance. - |
- |
-
-
- |
-
-
- Stop
- ()- Stops the WebSocketSharp.Server.WebSocketService instance. - |
- |
-
-
- |
-
-
- Stop
- (ushort, string)- Stops the WebSocketSharp.Server.WebSocketService instance with the specified ushort and string. - |
- |
-
-
- |
-
-
- Stop
- (WebSocketSharp.CloseStatusCode, string)- Stops the WebSocketSharp.Server.WebSocketService instance with the specified WebSocketSharp.CloseStatusCode and string. - |
-
-
-
- |
-
-
- OnClose
- (WebSocketSharp.CloseEventArgs)- Occurs when the inner WebSocketSharp.WebSocket receives a Close frame or the Stop method is called. - |
- |
-
-
- |
-
-
- OnError
- (WebSocketSharp.ErrorEventArgs)- Occurs when the inner WebSocketSharp.WebSocket gets an error. - |
- |
-
-
- |
-
-
- OnMessage
- (WebSocketSharp.MessageEventArgs)- Occurs when the inner WebSocketSharp.WebSocket receives a data frame. - |
- |
-
-
- |
-
-
- OnOpen
- ()- Occurs when the WebSocket connection has been established. - |
- |
-
-
- |
-
-
- ProcessCookies
- (WebSocketSharp.Net.CookieCollection, WebSocketSharp.Net.CookieCollection)- Processes the cookies used in the WebSocket opening handshake. - |
-
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Initializes a new instance of the WebSocketSharp.Server.WebSocketService class. -
-Syntax
-public WebSocketService ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Broadcasts the specified array of byte to the clients of every WebSocketSharp.Server.WebSocketService instances - in the WebSocketService.Sessions. -
-Syntax
- -Parameters
----
-- - data -
-- - An array of byte to broadcast. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Broadcasts the specified string to the clients of every WebSocketSharp.Server.WebSocketService instances - in the WebSocketService.Sessions. -
-Syntax
- -Parameters
----
-- - data -
-- - A string to broadcast. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Pings to the clients of every WebSocketSharp.Server.WebSocketService instances - in the WebSocketService.Sessions. -
-Syntax
-public Dictionary<string, bool> Broadping ()-Returns
-- A Dictionary<string, bool> that contains the collection of IDs and values - indicating whether each WebSocketSharp.Server.WebSocketService instances received a Pong in a time. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Pings with the specified string to the clients of every WebSocketSharp.Server.WebSocketService instances - in the WebSocketService.Sessions. -
-Syntax
-public Dictionary<string, bool> Broadping (string message)-Parameters
----
-- - message -
-- - A string that contains a message. -
-Returns
-- A Dictionary<string, bool> that contains the collection of IDs and values - indicating whether each WebSocketSharp.Server.WebSocketService instances received a Pong in a time. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the ID of the WebSocketSharp.Server.WebSocketService instance. -
-Syntax
-public string ID { get; }-Value
-- A string that contains an ID. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocketSharp.Server.WebSocketService instance is bound to a WebSocketSharp.WebSocket. -
-Syntax
-public bool IsBound { get; }-Value
-- true if the WebSocketSharp.Server.WebSocketService instance is bound to a WebSocketSharp.WebSocket; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the inner WebSocketSharp.WebSocket receives a Close frame or the Stop method is called. -
-Syntax
-protected virtual void OnClose (WebSocketSharp.CloseEventArgs e)-Parameters
----
-- - e -
-- - A WebSocketSharp.CloseEventArgs that contains the event data associated with a WebSocketSharp.WebSocket.OnClose event. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the inner WebSocketSharp.WebSocket gets an error. -
-Syntax
-protected virtual void OnError (WebSocketSharp.ErrorEventArgs e)-Parameters
----
-- - e -
-- - An WebSocketSharp.ErrorEventArgs that contains the event data associated with a WebSocketSharp.WebSocket.OnError event. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the inner WebSocketSharp.WebSocket receives a data frame. -
-Syntax
-protected virtual void OnMessage (WebSocketSharp.MessageEventArgs e)-Parameters
----
-- - e -
-- - A WebSocketSharp.MessageEventArgs that contains the event data associated with a WebSocketSharp.WebSocket.OnMessage event. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the WebSocket connection has been established. -
-Syntax
-protected virtual void OnOpen ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Pings to the client of the WebSocketSharp.Server.WebSocketService instance. -
-Syntax
-public bool Ping ()-Returns
-- true if the WebSocketSharp.Server.WebSocketService instance receives a Pong in a time; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Pings with the specified string to the client of the WebSocketSharp.Server.WebSocketService instance. -
-Syntax
- -Parameters
----
-- - message -
-- - A string that contains a message. -
-Returns
-- true if the WebSocketSharp.Server.WebSocketService instance receives a Pong in a time; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Pings to the client of the WebSocketSharp.Server.WebSocketService instance - associated with the specified id. -
-Syntax
- -Parameters
----
-- - id -
-- - A string that contains an ID that represents the destination for the Ping. -
-Returns
-- true if the WebSocketSharp.Server.WebSocketService instance receives a Pong in a time; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Pings with the specified string to the client of the WebSocketSharp.Server.WebSocketService instance - associated with the specified id. -
-Syntax
- -Parameters
-- --Returns
-- true if the WebSocketSharp.Server.WebSocketService instance receives a Pong in a time; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Processes the cookies used in the WebSocket opening handshake. -
-Syntax
-protected virtual bool ProcessCookies (WebSocketSharp.Net.CookieCollection request, WebSocketSharp.Net.CookieCollection response)-Parameters
----
-- - request -
-- - A WebSocketSharp.Net.CookieCollection that contains a collection of the HTTP Cookies received from the client. -
-- - response -
-- - A WebSocketSharp.Net.CookieCollection that contains a collection of the HTTP Cookies to send to the client. -
-Returns
-- true if processing the cookies is successfully; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the collection of query string variables used in the WebSocket opening handshake. -
-Syntax
-protected System.Collections.Specialized.NameValueCollection QueryString { get; }-Value
-- A System.Collections.Specialized.NameValueCollection that contains the collection of query string variables. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a binary data to the client of the WebSocketSharp.Server.WebSocketService instance. -
-Syntax
- -Parameters
----
-- - data -
-- - An array of byte that contains a binary data to send. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a text data to the client of the WebSocketSharp.Server.WebSocketService instance. -
-Syntax
- -Parameters
----
-- - data -
-- - A string that contains a text data to send. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a binary data to the client of the WebSocketSharp.Server.WebSocketService instance - associated with the specified id. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a text data to the client of the WebSocketSharp.Server.WebSocketService instance - associated with the specified id. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the sessions to the WebSocketSharp.Server.WebSocketService. -
-Syntax
-protected WebSocketServiceManager Sessions { get; }-Value
-- A WebSocketSharp.Server.WebSocketServiceManager that contains the sessions to the the WebSocketSharp.Server.WebSocketService. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Starts the WebSocketSharp.Server.WebSocketService instance. -
-Syntax
-public void Start ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Stops the WebSocketSharp.Server.WebSocketService instance. -
-Syntax
-public void Stop ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Stops the WebSocketSharp.Server.WebSocketService instance with the specified ushort and string. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Stops the WebSocketSharp.Server.WebSocketService instance with the specified WebSocketSharp.CloseStatusCode and string. -
-Syntax
- -Parameters
----
-- - code -
-- - One of the WebSocketSharp.CloseStatusCode values that contains a status code indicating the reason for stop. -
-- - reason -
-- - A string that contains a reason for stop. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides the functions of the server that receives the WebSocket connection requests. -
----
-- - T -
-- - The type of the WebSocket service that the server provides. The T must inherit the WebSocketSharp.Server.WebSocketService class. -
-
- See Also: Inherited members from - WebSocketServerBase. -
-
-
-
- |
-
-
-
- WebSocketServiceHost
- (int)
- |
- - Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified port. - | -
-
-
- |
-
-
-
- WebSocketServiceHost
- (string)
- |
- - Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified WebSocket URL. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified port and secure. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified port and absPath. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified port, absPath and secure. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified address, port and absPath. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified address, port, absPath and secure. - | -
[read-only] | -- - Address - - | -- - System.Net.IPAddress - . - Gets the local IP address on which to listen for incoming connection attempts. - (Inherited from WebSocketServerBase.) | -
[read-only] | -- - IsSecure - - | -- - bool - . - Gets a value indicating whether the server provides secure connection. - (Inherited from WebSocketServerBase.) | -
[read-only] | -- - IsSelfHost - - | -- - bool - . - Gets a value indicating whether the server is self host. - (Inherited from WebSocketServerBase.) | -
[read-only] | -- - Port - - | -- - int - . - Gets the port on which to listen for incoming connection attempts. - (Inherited from WebSocketServerBase.) | -
-
-
- |
- - - Sweeping - - | -- - bool - . - Gets or sets a value indicating whether the server cleans up the inactive WebSocket service - instances periodically. - | -
[read-only] | -- - Uri - - | -- - Uri - . - Gets the WebSocket URL on which to listen for incoming connection attempts. - | -
-
-
- |
- - - BaseUri - - | -- - Uri - . - Gets or sets the WebSocket URL on which to listen for incoming connection attempts. - (Inherited from WebSocketServerBase.) | -
-
-
- |
-
-
- Broadcast
- (string)- Broadcasts the specified string to all clients. - |
- |
-
-
- |
-
-
- Broadping
- (string)- Pings with the specified string to all clients. - |
- |
-
-
- |
-
-
- Start
- ()- Starts to receive the WebSocket connection requests. - (Inherited from WebSocketServerBase.) |
- |
- override
- |
-
-
- Stop
- ()- Stops receiving the WebSocket connection requests. - |
- |
-
-
- |
-
-
- Stop
- ()- Stops receiving the WebSocket connection requests. - (Inherited from WebSocketServerBase.) |
-
- override
- |
-
-
- AcceptWebSocket
- (WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext)- Accepts a WebSocket connection request. - |
- |
- abstract
- |
-
-
- AcceptWebSocket
- (WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext)- Accepts a WebSocket connection request. - (Inherited from WebSocketServerBase.) |
- |
-
-
- |
-
-
- Error
- (string)- Occurs the WebSocketServerBase.OnError event with the specified string. - (Inherited from WebSocketServerBase.) |
-
-
-
- |
- - - OnError - - | -- Occurs when the server gets an error. - (Inherited from WebSocketServerBase.) | -
-
-
- |
- - - WebSocketSharp.Server.IServiceHost.BindWebSocket - - | -- Binds the specified WebSocketSharp.Net.WebSockets.WebSocketContext to a WebSocketSharp.Server.WebSocketService instance. - | -
--- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified port. -
-Syntax
-public WebSocketServiceHost (int port)-Parameters
----
-- - port -
-- - An int that contains a port number. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified WebSocket URL. -
-Syntax
-public WebSocketServiceHost (string url)-Parameters
----
-- - url -
-- - A string that contains a WebSocket URL. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified port and secure. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified port and absPath. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified port, absPath and secure. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified address, port and absPath. -
-Syntax
- -Parameters
----
-- - address -
-- - A System.Net.IPAddress that contains a local IP address. -
-- - port -
-- - An int that contains a port number. -
-- - absPath -
-- - A string that contains an absolute path. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts - on the specified address, port, absPath and secure. -
-Syntax
- -Parameters
----
-- - address -
-- - A System.Net.IPAddress that contains a local IP address. -
-- - port -
-- - An int that contains a port number. -
-- - absPath -
-- - A string that contains an absolute path. -
-- - secure -
-- - A bool that indicates providing a secure connection or not. (true indicates providing a secure connection.) -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Accepts a WebSocket connection request. -
-Syntax
-protected override void AcceptWebSocket (WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext context)-Parameters
----
-- - context -
-- - A WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext that contains the WebSocket connection request objects. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Broadcasts the specified string to all clients. -
-Syntax
- -Parameters
----
-- - data -
-- - A string to broadcast. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Pings with the specified string to all clients. -
-Syntax
-public Dictionary<string, bool> Broadping (string message)-Parameters
----
-- - message -
-- - A string that contains a message. -
-Returns
-- A Dictionary<string, bool> that contains the collection of session IDs and values - indicating whether the server received the Pongs from each clients in a time. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Stops receiving the WebSocket connection requests. -
-Syntax
-public override void Stop ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets a value indicating whether the server cleans up the inactive WebSocket service - instances periodically. -
-Syntax
-public bool Sweeping { get; set; }-Value
-- 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. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocket URL on which to listen for incoming connection attempts. -
-Syntax
-public Uri Uri { get; }-Value
-- A Uri that contains a WebSocket URL. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Binds the specified WebSocketSharp.Net.WebSockets.WebSocketContext to a WebSocketSharp.Server.WebSocketService instance. -
-Syntax
-- void WebSocketSharp.Server.IServiceHost.BindWebSocket (WebSocketSharp.Net.WebSockets.WebSocketContext context)-Parameters
----
-- - context -
-- - A WebSocketSharp.Net.WebSockets.WebSocketContext that contains the WebSocket connection request objects to bind. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Manages the collection of WebSocketSharp.Server.WebSocketService objects. -
-- See Also: Inherited members from - object. -
-[read-only] | -- - ActiveIDs - - | -- - IEnumerable<string> - . - Gets the collection of IDs of active WebSocketSharp.Server.WebSocketService objects - managed by the WebSocketSharp.Server.WebSocketServiceManager. - | -
[read-only] | -- - Count - - | -- - int - . - Gets the number of WebSocketSharp.Server.WebSocketService objects - managed by the WebSocketSharp.Server.WebSocketServiceManager. - | -
[read-only] | -- - IDs - - | -- - IEnumerable<string> - . - Gets the collection of IDs of WebSocketSharp.Server.WebSocketService objects - managed by the WebSocketSharp.Server.WebSocketServiceManager. - | -
[read-only] | -- - InactiveIDs - - | -- - IEnumerable<string> - . - Gets the collection of IDs of inactive WebSocketSharp.Server.WebSocketService objects - managed by the WebSocketSharp.Server.WebSocketServiceManager. - | -
[read-only] | -- - Sweeping - - | -- - bool - . - Gets a value indicating whether the WebSocketSharp.Server.WebSocketServiceManager cleans up - the inactive WebSocketSharp.Server.WebSocketService objects periodically. - | -
-
-
- |
-
-
- Broadcast
- (byte[])- Broadcasts the specified array of byte to the clients of every WebSocketSharp.Server.WebSocketService - managed by the WebSocketSharp.Server.WebSocketServiceManager. - |
- |
-
-
- |
-
-
- Broadcast
- (string)- Broadcasts the specified string to the clients of every WebSocketSharp.Server.WebSocketService - managed by the WebSocketSharp.Server.WebSocketServiceManager. - |
- |
-
-
- |
-
-
- Broadping
- (string)- Pings with the specified string to the clients of every WebSocketSharp.Server.WebSocketService - managed by the WebSocketSharp.Server.WebSocketServiceManager. - |
- |
-
-
- |
-
-
- Sweep
- ()- Cleans up the inactive WebSocketSharp.Server.WebSocketService objects. - |
- |
-
-
- |
-
-
- TryGetWebSocketService
- (string, out WebSocketService)- Tries to get the WebSocketSharp.Server.WebSocketService associated with the specified id. - |
-
--- Gets the collection of IDs of active WebSocketSharp.Server.WebSocketService objects - managed by the WebSocketSharp.Server.WebSocketServiceManager. -
-Syntax
-public IEnumerable<string> ActiveIDs { get; }-Value
-- An IEnumerable<string> that contains the collection of IDs of active WebSocketSharp.Server.WebSocketService objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Broadcasts the specified array of byte to the clients of every WebSocketSharp.Server.WebSocketService - managed by the WebSocketSharp.Server.WebSocketServiceManager. -
-Syntax
- -Parameters
----
-- - data -
-- - An array of byte to broadcast. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Broadcasts the specified string to the clients of every WebSocketSharp.Server.WebSocketService - managed by the WebSocketSharp.Server.WebSocketServiceManager. -
-Syntax
- -Parameters
----
-- - data -
-- - A string to broadcast. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Pings with the specified string to the clients of every WebSocketSharp.Server.WebSocketService - managed by the WebSocketSharp.Server.WebSocketServiceManager. -
-Syntax
-public Dictionary<string, bool> Broadping (string message)-Parameters
----
-- - message -
-- - A string that contains a message. -
-Returns
-- A Dictionary<string, bool> that contains the collection of IDs and values - indicating whether each WebSocketSharp.Server.WebSocketService received a Pong in a time. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the number of WebSocketSharp.Server.WebSocketService objects - managed by the WebSocketSharp.Server.WebSocketServiceManager. -
-Syntax
-public int Count { get; }-Value
-- An int that contains the number of WebSocketSharp.Server.WebSocketService objects - managed by the WebSocketSharp.Server.WebSocketServiceManager. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the collection of IDs of WebSocketSharp.Server.WebSocketService objects - managed by the WebSocketSharp.Server.WebSocketServiceManager. -
-Syntax
-public IEnumerable<string> IDs { get; }-Value
-- An IEnumerable<string> that contains the collection of IDs of WebSocketSharp.Server.WebSocketService objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the collection of IDs of inactive WebSocketSharp.Server.WebSocketService objects - managed by the WebSocketSharp.Server.WebSocketServiceManager. -
-Syntax
-public IEnumerable<string> InactiveIDs { get; }-Value
-- An IEnumerable<string> that contains the collection of IDs of inactive WebSocketSharp.Server.WebSocketService objects. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Cleans up the inactive WebSocketSharp.Server.WebSocketService objects. -
-Syntax
-public void Sweep ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocketSharp.Server.WebSocketServiceManager cleans up - the inactive WebSocketSharp.Server.WebSocketService objects periodically. -
-Syntax
-public bool Sweeping { get; }-Value
-- true if the WebSocketSharp.Server.WebSocketServiceManager cleans up the inactive WebSocketSharp.Server.WebSocketService objects - every 60 seconds; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Tries to get the WebSocketSharp.Server.WebSocketService associated with the specified id. -
-Syntax
- -Parameters
----
-- - id -
-- - A string that contains the ID to find. -
-- - service -
-- - When this method returns, contains the WebSocketSharp.Server.WebSocketService with the specified id, if the id is found; otherwise, null. -
-Returns
-- true if the WebSocketSharp.Server.WebSocketServiceManager manages the WebSocketSharp.Server.WebSocketService with the specified id; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp.Server-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
-
-The WebSocketSharp.Server namespace contains classes to implement the server that receives the WebSocket connection requests.
-Type | -Description | -
---|---|
- HttpRequestEventArgs - | -- Contains the event data associated with the HTTP request events of the WebSocketSharp.Server.HttpServer class. - | -
- HttpServer - | -- Provides a simple HTTP server that allows to accept the WebSocket connection requests. - | -
- IServiceHost - | -- Exposes the methods and properties for the WebSocket service host. - | -
- WebSocketServer - | -- Provides the functions of the server that receives the WebSocket connection requests. - | -
- WebSocketServerBase - | -- Provides the basic functions of the server that receives the WebSocket connection requests. - | -
- WebSocketService - | -- Provides the basic functions of the WebSocket service. - | -
- WebSocketServiceHost<T> - | -- Provides the functions of the server that receives the WebSocket connection requests. - | -
- WebSocketServiceManager - | -- Manages the collection of WebSocketSharp.Server.WebSocketService objects. - | -
- Contains the values that indicate whether the byte order is a Little-endian or Big-endian. -
-Member Name | -Description | -
---|---|
- BIG - | -- Indicates a Big-endian. - | -
- LITTLE - | -- Indicates a Little-endian. - | -
- Contains the event data associated with a WebSocket.OnClose event. -
-- See Also: Inherited members from - MessageEventArgs. -
-[read-only] | -- - Code - - | -- - ushort - . - Gets the status code for closure. - | -
[read-only] | -- - Data - - | -- - string - . - Gets the received data as a string. - (Inherited from MessageEventArgs.) | -
[read-only] | -- - RawData - - | -- - byte[]. - Gets the received data as an array of byte. - (Inherited from MessageEventArgs.) | -
[read-only] | -- - Reason - - | -- - string - . - Gets the reason for closure. - | -
[read-only] | -- - Type - - | -- - Opcode - . - Gets the type of the received data. - (Inherited from MessageEventArgs.) | -
[read-only] | -- - WasClean - - | -- - bool - . - Indicates whether the WebSocket connection closed cleanly. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Gets the status code for closure. -
-Syntax
-public ushort Code { get; }-Value
-- A ushort that contains a status code for closure. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the reason for closure. -
-Syntax
-public string Reason { get; }-Value
-- A string that contains a reason for closure. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Indicates whether the WebSocket connection closed cleanly. -
-Syntax
-public bool WasClean { get; }-Value
-- true if the WebSocket connection closed cleanly; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Contains the values of the status codes for the WebSocket connection closure. -
-- The CloseStatusCode enumeration contains the values of the status codes for the WebSocket connection closure - defined in RFC 6455 for the WebSocket protocol. -
-- "Reserved value" must not be set as a status code in a close control frame by an endpoint. - It is designated for use in applications expecting a status code to indicate that connection - was closed due to a system grounds. -
-Member Name | -Description | -
---|---|
- ABNORMAL - | -- Equivalent to close status 1006. Indicates that the connection was closed abnormally. Reserved value. - | -
- AWAY - | -- Equivalent to close status 1001. Indicates that an endpoint is "going away". - | -
- IGNORE_EXTENSION - | -- Equivalent to close status 1010. Indicates that an endpoint (client) is terminating the connection - because it has expected the server to negotiate one or more extension, but the server didn't return - them in the response message of the WebSocket handshake. - | -
- INCONSISTENT_DATA - | -- Equivalent to close status 1007. Indicates that an endpoint is terminating the connection - because it has received data within a message that was not consistent with the type of the message. - | -
- INCORRECT_DATA - | -- Equivalent to close status 1003. Indicates that an endpoint is terminating the connection - because it has received a type of data it cannot accept. - | -
- NO_STATUS_CODE - | -- Equivalent to close status 1005. Indicates that no status code was actually present. Reserved value. - | -
- NORMAL - | -- Equivalent to close status 1000. Indicates a normal closure. - | -
- POLICY_VIOLATION - | -- Equivalent to close status 1008. Indicates that an endpoint is terminating the connection - because it has received a message that violates its policy. - | -
- PROTOCOL_ERROR - | -- Equivalent to close status 1002. Indicates that an endpoint is terminating the connection - due to a protocol error. - | -
- SERVER_ERROR - | -- Equivalent to close status 1011. Indicates that a server is terminating the connection because it encountered - an unexpected condition that prevented it from fulfilling the request. - | -
- TLS_HANDSHAKE_FAILURE - | -- Equivalent to close status 1015. Indicates that the connection was closed due to a failure to perform - a TLS handshake. Reserved value. - | -
- TOO_BIG - | -- Equivalent to close status 1009. Indicates that an endpoint is terminating the connection - because it has received a message that is too big for it to process. - | -
- UNDEFINED - | -- Equivalent to close status 1004. Still undefined. Reserved value. - | -
- Contains the values of the compression methods used to compress the payload data of the WebSocket Data frame. -
-Member Name | -Description | -
---|---|
- DEFLATE - | -- Indicates using DEFLATE. - | -
- NONE - | -- Indicates non compression. - | -
- Contains the event data associated with a error event. -
-- See Also: Inherited members from - EventArgs. -
-
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Gets the error message. -
-Syntax
-public string Message { get; }-Value
-- A string that contains a error message. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides a set of static methods for the websocket-sharp. -
-- See Also: Inherited members from - object. -
-
- static
- |
-
-
- AcceptWebSocket
- (this System.Net.Sockets.TcpListener, bool)- Accepts a WebSocket connection by the System.Net.Sockets.TcpListener. - |
- |
- static
- |
-
-
- AcceptWebSocketAsync
- (this System.Net.Sockets.TcpListener, bool, Action<WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext>)- Accepts a WebSocket connection asynchronously by the System.Net.Sockets.TcpListener. - |
- |
- static
- |
-
-
- Contains
- (this System.Collections.Specialized.NameValueCollection, string)- Determines whether the specified System.Collections.Specialized.NameValueCollection contains the entry - with the specified name. - |
- |
- static
- |
-
-
- Contains
- (this string, params char[])- Determines whether the specified string contains any of characters - in the specified array of char. - |
- |
- static
- |
-
-
- Contains
- (this System.Collections.Specialized.NameValueCollection, string, string)- Determines whether the specified System.Collections.Specialized.NameValueCollection contains the entry - with the specified both name and value. - |
- |
- static
- |
-
-
- Emit
- (this EventHandler, object, EventArgs)- Emit the specified EventHandler delegate if is not null. - |
- |
- static
- |
-
-
- Emit<TEventArgs>
- (this EventHandler<TEventArgs>, object, TEventArgs)- Emit the specified EventHandler<TEventArgs> delegate if is not null. - |
- |
- static
- |
-
-
- EqualsAndSaveTo
- (this int, char, List<byte>)- Determines whether the specified int equals the specified char as byte. - And save this specified int as byte to the specified List<byte>. - |
- |
- static
- |
-
-
- GetAbsolutePath
- (this Uri)- Gets the absolute path from the specified Uri. - |
- |
- static
- |
-
-
- GetCookies
- (this System.Collections.Specialized.NameValueCollection, bool)- Gets the collection of cookies from the specified System.Collections.Specialized.NameValueCollection. - |
- |
- static
- |
-
-
- GetDescription
- (this WebSocketSharp.Net.HttpStatusCode)- Gets the description of the HTTP status code using the specified WebSocketSharp.Net.HttpStatusCode. - |
- |
- static
- |
-
-
- GetName
- (this string, string)- Gets the name from the specified string that contains a pair of name and value - separated by a separator string. - |
- |
- static
- |
-
-
- GetNameAndValue
- (this string, string)- Gets the name and value from the specified string that contains a pair of name and value are separated by a separator string. - |
- |
- static
- |
-
-
- GetStatusDescription
- (this int)- Gets the description of the HTTP status code using the specified int. - |
- |
- static
- |
-
-
- GetValue
- (this string, string)- Gets the value from the specified string that contains a pair of name and value - separated by a separator string. - |
- |
- static
- |
-
-
- IsCloseStatusCode
- (this ushort)- Determines whether the specified ushort is in the allowable range of - the WebSocket close status code. - |
- |
- static
- |
-
-
- IsEmpty
- (this string)- Determines whether the specified string is empty. - |
- |
- static
- |
-
-
- IsEnclosedIn
- (this string, char)- Determines whether the specified string is enclosed in the specified char. - |
- |
- static
- |
-
-
- IsHostOrder
- (this ByteOrder)- Determines whether the specified WebSocketSharp.ByteOrder is host (this computer architecture) byte order. - |
- |
- static
- |
-
-
- IsLocal
- (this System.Net.IPAddress)- Determines whether the specified System.Net.IPAddress represents a local IP address. - |
- |
- static
- |
-
-
- IsNullOrEmpty
- (this string)- Determines whether the specified string is null or empty. - |
- |
- static
- |
-
-
- IsPredefinedScheme
- (this string)- Determines whether the specified string is predefined scheme. - |
- |
- static
- |
-
-
- IsUpgradeTo
- (this WebSocketSharp.Net.HttpListenerRequest, string)- Determines whether the specified WebSocketSharp.Net.HttpListenerRequest is the HTTP Upgrade request - to switch to the specified protocol. - |
- |
- static
- |
-
-
- IsValidAbsolutePath
- (this string, out string)- Determines whether the specified string is valid absolute path. - |
- |
- static
- |
-
-
- MaybeUri
- (this string)- Determines whether the specified string is a URI string. - |
- |
- static
- |
-
-
- ReadBytes
- (this System.IO.Stream, int)- Reads a block of bytes from the specified System.IO.Stream - and returns the read data in an array of byte. - |
- |
- static
- |
-
-
- ReadBytes
- (this System.IO.Stream, long)- Reads a block of bytes from the specified System.IO.Stream - and returns the read data in an array of byte. - |
- |
- static
- |
-
-
- SubArray<T>
- (this T[], int, int)- Retrieves a sub-array from the specified array. A sub-array starts at the specified element position. - |
- |
- static
- |
-
-
- Times
- (this int, Action)- Executes the specified Action delegate n times. - |
- |
- static
- |
-
-
- Times
- (this int, Action<int>)- Executes the specified Action<int> delegate n times. - |
- |
- static
- |
-
-
- Times
- (this long, Action)- Executes the specified Action delegate n times. - |
- |
- static
- |
-
-
- Times
- (this long, Action<long>)- Executes the specified Action<long> delegate n times. - |
- |
- static
- |
-
-
- Times
- (this uint, Action)- Executes the specified Action delegate n times. - |
- |
- static
- |
-
-
- Times
- (this uint, Action<uint>)- Executes the specified Action<uint> delegate n times. - |
- |
- static
- |
-
-
- Times
- (this ulong, Action)- Executes the specified Action delegate n times. - |
- |
- static
- |
-
-
- Times
- (this ulong, Action<ulong>)- Executes the specified Action<ulong> delegate n times. - |
- |
- static
- |
-
-
- To<T>
- (this byte[], ByteOrder)- Converts the specified array of byte to the specified type data. - |
- |
- static
- |
-
-
- ToByteArray<T>
- (this T, ByteOrder)- Converts the specified value to an array of byte. - |
- |
- static
- |
-
-
- ToHostOrder
- (this byte[], ByteOrder)- Converts the order of the specified array of byte to the host byte order. - |
- |
- static
- |
-
-
- ToString<T>
- (this T[], string)- Converts the specified array to a string that concatenates - the each element of array across the specified separator. - |
- |
- static
- |
-
-
- ToUri
- (this string)- Converts the specified string to a Uri object. - |
- |
- static
- |
-
-
- TryCreateWebSocketUri
- (this string, out Uri, out string)- Tries to create a new WebSocket Uri using the specified uriString. - |
- |
- static
- |
-
-
- UrlDecode
- (this string)- URL-decodes the specified string. - |
- |
- static
- |
-
-
- UrlEncode
- (this string)- URL-encodes the specified string. - |
- |
- static
- |
-
-
- WriteContent
- (this WebSocketSharp.Net.HttpListenerResponse, byte[])- Writes the specified content data using the specified WebSocketSharp.Net.HttpListenerResponse. - |
-
--- Accepts a WebSocket connection by the System.Net.Sockets.TcpListener. -
-Syntax
-public static WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext AcceptWebSocket (this System.Net.Sockets.TcpListener listener, bool secure)-Parameters
----
-- - listener -
-- - A System.Net.Sockets.TcpListener that provides a TCP connection to accept a WebSocket connection. -
-- - secure -
-- - A bool that indicates a secure connection or not. (true indicates a secure connection.) -
-Returns
-- A WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext that contains a WebSocket connection. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- listener is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Accepts a WebSocket connection asynchronously by the System.Net.Sockets.TcpListener. -
-Syntax
-public static void AcceptWebSocketAsync (this System.Net.Sockets.TcpListener listener, bool secure, Action<WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext> completed)-Parameters
----
-- - listener -
-- - A System.Net.Sockets.TcpListener that provides a TCP connection to accept a WebSocket connection. -
-- - secure -
-- - A bool that indicates a secure connection or not. (true indicates a secure connection.) -
-- - completed -
-- - An Action<TcpListenerWebSocketContext> delegate that contains the method(s) that is called when an asynchronous operation completes. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- listener is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified System.Collections.Specialized.NameValueCollection contains the entry - with the specified name. -
-Syntax
-public static bool Contains (this System.Collections.Specialized.NameValueCollection collection, string name)-Parameters
----
-- - collection -
-- - A System.Collections.Specialized.NameValueCollection that contains the entries. -
-- - name -
-- - A string that contains the key of the entry to find. -
-Returns
-- true if collection contains the entry with name; - otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified string contains any of characters - in the specified array of char. -
-Syntax
- -Parameters
-- --Returns
-- true if value contains any of chars; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified System.Collections.Specialized.NameValueCollection contains the entry - with the specified both name and value. -
-Syntax
-public static bool Contains (this System.Collections.Specialized.NameValueCollection collection, string name, string value)-Parameters
----
-- - collection -
-- - A System.Collections.Specialized.NameValueCollection that contains the entries. -
-- - name -
-- - A string that contains the key of the entry to find. -
-- - value -
-- - A string that contains the value of the entry to find. -
-Returns
-- true if collection contains the entry with both name and value; - otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Emit the specified EventHandler delegate if is not null. -
-Syntax
- -Parameters
----
-- - eventHandler -
-- - An EventHandler to emit. -
-- - sender -
-- - An object that emits the eventHandler. -
-- - e -
-- - An EventArgs that contains no event data. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Emit the specified EventHandler<TEventArgs> delegate if is not null. -
-Syntax
-public static void Emit<TEventArgs> (this EventHandler<TEventArgs> eventHandler, object sender, TEventArgs e)-
where TEventArgs : EventArgsType Parameters
----
-- - TEventArgs -
-- - The type of the event data generated by the event. -
-Parameters
----
-- - eventHandler -
-- - An EventHandler<TEventArgs> to emit. -
-- - sender -
-- - An object that emits the eventHandler. -
-- - e -
-- - A TEventArgs that contains the event data. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified int equals the specified char as byte. - And save this specified int as byte to the specified List<byte>. -
-Syntax
- -Parameters
-- --Returns
-- true if the value parameter equals the c parameter as byte; otherwise, false. --Exceptions
----
-- -Type -Reason -- -- ArgumentOutOfRangeException - -- Is thrown when the value parameter passed to a method is invalid because it is outside the allowable range of values as byte. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the absolute path from the specified Uri. -
-Syntax
- -Parameters
----
-- - uri -
-- - A Uri that contains the URI to get the absolute path from. -
-Returns
-- A string that contains the absolute path if got successfully; otherwise, null. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the collection of cookies from the specified System.Collections.Specialized.NameValueCollection. -
-Syntax
-public static WebSocketSharp.Net.CookieCollection GetCookies (this System.Collections.Specialized.NameValueCollection headers, bool response)-Parameters
----
-- - headers -
-- - A System.Collections.Specialized.NameValueCollection that contains a collection of the HTTP Headers. -
-- - response -
-- - true if gets from the response headers; - from the request headers, false. -
-Returns
-- A WebSocketSharp.Net.CookieCollection that receives a collection of the HTTP Cookies. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the description of the HTTP status code using the specified WebSocketSharp.Net.HttpStatusCode. -
-Syntax
-public static string GetDescription (this WebSocketSharp.Net.HttpStatusCode code)-Parameters
----
-- - code -
-- - One of WebSocketSharp.Net.HttpStatusCode values that contains an HTTP status code. -
-Returns
-- A string that contains the description of the HTTP status code. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the name from the specified string that contains a pair of name and value - separated by a separator string. -
-Syntax
- -Parameters
-- --Returns
-- A string that contains the name if any; otherwise, null. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the name and value from the specified string that contains a pair of name and value are separated by a separator string. -
-Syntax
-public static KeyValuePair<string, string> GetNameAndValue (this string nameAndValue, string separator)-Parameters
-- --Returns
-- A KeyValuePair<string, string> that contains the name and value if any. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the description of the HTTP status code using the specified int. -
-Syntax
- -Parameters
----
-- - code -
-- - An int that contains an HTTP status code. -
-Returns
-- A string that contains the description of the HTTP status code. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the value from the specified string that contains a pair of name and value - separated by a separator string. -
-Syntax
- -Parameters
-- --Returns
-- A string that contains the value if any; otherwise, null. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified ushort is in the allowable range of - the WebSocket close status code. -
-Syntax
- -Parameters
----
-- - code -
-- - A ushort to test. -
-Returns
-- true if code is in the allowable range of the WebSocket close status code; otherwise, false. --Remarks
-- Not allowable ranges are the followings. --
- - Numbers in the range 0-999 are not used. -
- - Numbers which are greater than 4999 are out of the reserved close status code ranges. -
Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified string is empty. -
-Syntax
- -Parameters
----
-- - value -
-- - A string to test. -
-Returns
-- true if value is empty; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified string is enclosed in the specified char. -
-Syntax
- -Parameters
-- --Returns
-- true if value is enclosed in c; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified WebSocketSharp.ByteOrder is host (this computer architecture) byte order. -
-Syntax
- -Parameters
----
-- - order -
-- - A WebSocketSharp.ByteOrder to test. -
-Returns
-- true if the order parameter is host byte order; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified System.Net.IPAddress represents a local IP address. -
-Syntax
-public static bool IsLocal (this System.Net.IPAddress address)-Parameters
----
-- - address -
-- - A System.Net.IPAddress to test. -
-Returns
-- true if address represents a local IP address; otherwise, false. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- address is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified string is null or empty. -
-Syntax
- -Parameters
----
-- - value -
-- - A string to test. -
-Returns
-- true if the value parameter is null or empty; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified string is predefined scheme. -
-Syntax
- -Parameters
----
-- - scheme -
-- - A string to test. -
-Returns
-- true if the scheme parameter is the predefined scheme; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified WebSocketSharp.Net.HttpListenerRequest is the HTTP Upgrade request - to switch to the specified protocol. -
-Syntax
-public static bool IsUpgradeTo (this WebSocketSharp.Net.HttpListenerRequest request, string protocol)-Parameters
----
-- - request -
-- - A WebSocketSharp.Net.HttpListenerRequest that contains an HTTP request information. -
-- - protocol -
-- - A string that contains a protocol name. -
-Returns
-- true if the specified WebSocketSharp.Net.HttpListenerRequest is the HTTP Upgrade request - to switch to the specified protocol; otherwise, false. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- -- request is null. -
-- -or- -
-- protocol is null. -
-- -- ArgumentException - -- protocol is string.Empty. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified string is valid absolute path. -
-Syntax
- -Parameters
-- --Returns
-- true if the absPath parameter is valid absolute path; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Determines whether the specified string is a URI string. -
-Syntax
- -Parameters
----
-- - uriString -
-- - A string to test. -
-Returns
-- true if the uriString parameter is maybe a URI string; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Reads a block of bytes from the specified System.IO.Stream - and returns the read data in an array of byte. -
-Syntax
- -Parameters
----
-- - stream -
-- - A System.IO.Stream that contains the data to read. -
-- - length -
-- - An int that contains the number of bytes to read. -
-Returns
-- An array of byte that receives the read data. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Reads a block of bytes from the specified System.IO.Stream - and returns the read data in an array of byte. -
-Syntax
- -Parameters
----
-- - stream -
-- - A System.IO.Stream that contains the data to read. -
-- - length -
-- - A long that contains the number of bytes to read. -
-Returns
-- An array of byte that receives the read data. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Retrieves a sub-array from the specified array. A sub-array starts at the specified element position. -
-Syntax
- -Type Parameters
----
-- - T -
-- - The type of elements in the array. -
-Parameters
-- --Returns
-- An array of T that receives a sub-array, or an empty array of T if any problems with the parameters. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Executes the specified Action delegate n times. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Executes the specified Action<int> delegate n times. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Executes the specified Action delegate n times. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Executes the specified Action<long> delegate n times. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Executes the specified Action delegate n times. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Executes the specified Action<uint> delegate n times. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Executes the specified Action delegate n times. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Executes the specified Action<ulong> delegate n times. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Converts the specified array of byte to the specified type data. -
-Syntax
- -Type Parameters
----
-- - T -
-- - The type of the return. The T must be a value type. -
-Parameters
----
-- - src -
-- - An array of byte to convert. -
-- - srcOrder -
-- - A WebSocketSharp.ByteOrder that indicates the byte order of src. -
-Returns
-- A T converted from src, or a default value of T - if src is an empty array of byte - or if the type of T isn't bool, char, double, - float, int, long, short, - uint, ulong or ushort. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- src is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Converts the specified value to an array of byte. -
-Syntax
- -Type Parameters
----
-- - T -
-- - The type of value. The T must be a value type. -
-Parameters
----
-- - value -
-- - A T to convert. -
-- - order -
-- - A WebSocketSharp.ByteOrder that indicates the byte order of the return. -
-Returns
-- An array of byte converted from value. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Converts the order of the specified array of byte to the host byte order. -
-Syntax
- -Parameters
----
-- - src -
-- - An array of byte to convert. -
-- - srcOrder -
-- - A WebSocketSharp.ByteOrder that indicates the byte order of src. -
-Returns
-- An array of byte converted from src. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- src is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Converts the specified array to a string that concatenates - the each element of array across the specified separator. -
-Syntax
- -Type Parameters
----
-- - T -
-- - The type of elements in array. -
-Parameters
----
-- - array -
-- - An array of T to convert. -
-- - separator -
-- - A string that contains a separator string. -
-Returns
-- A string converted from array, or a string.Empty - if the length of array is zero. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- array is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Converts the specified string to a Uri object. -
-Syntax
- -Parameters
----
-- - uriString -
-- - A string to convert. -
-Returns
-- A Uri converted from the uriString parameter, or null - if the uriString is null or string.Empty. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Tries to create a new WebSocket Uri using the specified uriString. -
-Syntax
-public static bool TryCreateWebSocketUri (this string uriString, out Uri result, out string message)-Parameters
----
-- - uriString -
-- - A string that contains a WebSocket URI. -
-- - result -
-- - When this method returns, contains a created WebSocket Uri if the uriString parameter is valid WebSocket URI; otherwise, null. -
-- - message -
-- - When this method returns, contains a error message string if the uriString parameter is invalid WebSocket URI; otherwise, String.Empty. -
-Returns
-- true if the WebSocket Uri was successfully created; otherwise, false. --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- Is thrown when the uriString parameter passed to a method is invalid because it is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- URL-decodes the specified string. -
-Syntax
- -Parameters
----
-- - s -
-- - A string to decode. -
-Returns
-- A string that receives a decoded string, or the s parameter - if the s is null or string.Empty. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- URL-encodes the specified string. -
-Syntax
- -Parameters
----
-- - s -
-- - A string to encode. -
-Returns
-- A string that receives a encoded string, or the s parameter - if the s is null or string.Empty. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Writes the specified content data using the specified WebSocketSharp.Net.HttpListenerResponse. -
-Syntax
-public static void WriteContent (this WebSocketSharp.Net.HttpListenerResponse response, byte[] content)-Parameters
----
-- - response -
-- - A WebSocketSharp.Net.HttpListenerResponse that contains a network stream to write a content data. -
-- - content -
-- - An array of byte that contains a content data to write. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- Is thrown when the response parameter passed to a method is invalid because it is null. - -Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Contains the event data associated with a WebSocket.OnMessage event. -
-- See Also: Inherited members from - EventArgs. -
-
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Gets the received data as a string. -
-Syntax
-public string Data { get; }-Value
-- A string that contains the received data. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the received data as an array of byte. -
-Syntax
-public byte[] RawData { get; }-Value
-- An array of byte that contains the received data. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the type of the received data. -
-Syntax
-public Opcode Type { get; }-Value
-- One of the WebSocketSharp.Opcode values that indicates the type of the received data. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Contains the values of the opcodes that denotes the frame type of the WebSocket frame. -
-Member Name | -Description | -
---|---|
- BINARY - | -- Equivalent to numeric value 2. Indicates a binary frame. - | -
- CLOSE - | -- Equivalent to numeric value 8. Indicates a connection close frame. - | -
- CONT - | -- Equivalent to numeric value 0. Indicates a continuation frame. - | -
- PING - | -- Equivalent to numeric value 9. Indicates a ping frame. - | -
- PONG - | -- Equivalent to numeric value 10. Indicates a pong frame. - | -
- TEXT - | -- Equivalent to numeric value 1. Indicates a text frame. - | -
- Implements the WebSocket interface. -
-- See Also: Inherited members from - object. -
-
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.WebSocket class with the specified WebSocket URL and subprotocols. - | -
-
-
- |
- - - | -- Initializes a new instance of the WebSocketSharp.WebSocket class with the specified WebSocket URL, - OnOpen, OnMessage, OnError, OnClose event handlers and subprotocols. - | -
-
-
- |
- - - Compression - - | -- - CompressionMethod - . - Gets or sets the compression method used to compress the payload data of the WebSocket Data frame. - | -
[read-only] | -- - Cookies - - | -- - IEnumerable<WebSocketSharp.Net.Cookie> - . - Gets the cookies used in the WebSocket opening handshake. - | -
[read-only] | -- - Credentials - - | -- - WsCredential - . - Gets the credentials for HTTP authentication (Basic/Digest). - | -
[read-only] | -- - Extensions - - | -- - string - . - Gets the WebSocket extensions selected by the server. - | -
[read-only] | -- - IsAlive - - | -- - bool - . - Gets a value indicating whether the WebSocket connection is alive. - | -
[read-only] | -- - IsSecure - - | -- - bool - . - Gets a value indicating whether the WebSocket connection is secure. - | -
-
-
- |
- - - Origin - - | -- - string - . - Gets or sets the value of the Origin header used in the WebSocket opening handshake. - | -
[read-only] | -- - Protocol - - | -- - string - . - Gets the WebSocket subprotocol selected by the server. - | -
[read-only] | -- - ReadyState - - | -- - WsState - . - Gets the state of the WebSocket connection. - | -
[read-only] | -- - Url - - | -- - Uri - . - Gets the WebSocket URL to connect. - | -
-
-
- |
-
-
- Close
- ()- Closes the WebSocket connection and releases all associated resources. - |
- |
-
-
- |
-
-
- Close
- (ushort)- Closes the WebSocket connection with the specified code and - releases all associated resources. - |
- |
-
-
- |
-
-
- Close
- (CloseStatusCode)- Closes the WebSocket connection with the specified code and - releases all associated resources. - |
- |
-
-
- |
-
-
- Close
- (ushort, string)- Closes the WebSocket connection with the specified code and - reason, and releases all associated resources. - |
- |
-
-
- |
-
-
- Close
- (CloseStatusCode, string)- Closes the WebSocket connection with the specified code and - reason, and releases all associated resources. - |
- |
-
-
- |
-
-
- Connect
- ()- Establishes a WebSocket connection. - |
- |
-
-
- |
-
-
- Dispose
- ()- Closes the WebSocket connection and releases all associated resources. - |
- |
-
-
- |
-
-
- Ping
- ()- Sends a Ping using the WebSocket connection. - |
- |
-
-
- |
-
-
- Ping
- (string)- Sends a Ping with the specified message using the WebSocket connection. - |
- |
-
-
- |
-
-
- Send
- (byte[])- Sends a binary data using the WebSocket connection. - |
- |
-
-
- |
-
-
- Send
- (System.IO.FileInfo)- Sends a binary data using the WebSocket connection. - |
- |
-
-
- |
-
-
- Send
- (string)- Sends a text data using the WebSocket connection. - |
- |
-
-
- |
-
-
- SendAsync
- (byte[], Action)- Sends a binary data asynchronously using the WebSocket connection. - |
- |
-
-
- |
-
-
- SendAsync
- (System.IO.FileInfo, Action)- Sends a binary data asynchronously using the WebSocket connection. - |
- |
-
-
- |
-
-
- SendAsync
- (string, Action)- Sends a text data asynchronously using the WebSocket connection. - |
- |
-
-
- |
-
-
- SetCookie
- (WebSocketSharp.Net.Cookie)- Sets a WebSocketSharp.Net.Cookie used in the WebSocket opening handshake. - |
- |
-
-
- |
-
-
- SetCredentials
- (string, string, bool)- Sets the credentials for HTTP authentication (Basic/Digest). - |
-
-
-
- |
- - - OnClose - - | -- Occurs when the WebSocketSharp.WebSocket receives a Close frame or the Close method is called. - | -
-
-
- |
- - - OnError - - | -- Occurs when the WebSocketSharp.WebSocket gets an error. - | -
-
-
- |
- - - OnMessage - - | -- Occurs when the WebSocketSharp.WebSocket receives a data frame. - | -
-
-
- |
- - - OnOpen - - | -- Occurs when the WebSocket connection has been established. - | -
--- Initializes a new instance of the WebSocketSharp.WebSocket class with the specified WebSocket URL and subprotocols. -
-Syntax
- -Parameters
-- --Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- url is null. - -- -- ArgumentException - -- url is not valid WebSocket URL. - -Remarks
---Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Initializes a new instance of the WebSocketSharp.WebSocket class with the specified WebSocket URL, - OnOpen, OnMessage, OnError, OnClose event handlers and subprotocols. -
-Syntax
-public WebSocket (string url, EventHandler onOpen, EventHandler<MessageEventArgs> onMessage, EventHandler<ErrorEventArgs> onError, EventHandler<CloseEventArgs> onClose, params string[] protocols)-Parameters
----
-- - url -
-- - A string that contains a WebSocket URL to connect. -
-- - onOpen -
-- - An WebSocket.OnOpen event handler. -
-- - onMessage -
-- - An WebSocket.OnMessage event handler. -
-- - onError -
-- - An WebSocket.OnError event handler. -
-- - onClose -
-- - An WebSocket.OnClose event handler. -
-- - protocols -
-- - An array of string that contains the WebSocket subprotocols if any. -
-Exceptions
----
-- -Type -Reason -- -- ArgumentNullException - -- url is null. - -- -- ArgumentException - -- url is not valid WebSocket URL. - -Remarks
-- This constructor initializes a new instance of the WebSocketSharp.WebSocket class and - establishes a WebSocket connection. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Closes the WebSocket connection and releases all associated resources. -
-Syntax
-public void Close ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Closes the WebSocket connection with the specified code and - releases all associated resources. -
-Syntax
- -Parameters
----
-- - code -
-- - A ushort that indicates the status code for closure. -
-Remarks
-- This Close method emits a WebSocket.OnError event if code is not - in the allowable range of the WebSocket close status code. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Closes the WebSocket connection with the specified code and - releases all associated resources. -
-Syntax
-public void Close (CloseStatusCode code)-Parameters
----
-- - code -
-- - One of the WebSocketSharp.CloseStatusCode values that indicates the status code for closure. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Closes the WebSocket connection with the specified code and - reason, and releases all associated resources. -
-Syntax
- -Parameters
-- --Remarks
-- This Close method emits a WebSocket.OnError event if code is not - in the allowable range of the WebSocket close status code. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Closes the WebSocket connection with the specified code and - reason, and releases all associated resources. -
-Syntax
- -Parameters
----
-- - code -
-- - One of the WebSocketSharp.CloseStatusCode values that indicates the status code for closure. -
-- - reason -
-- - A string that contains the reason for closure. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the compression method used to compress the payload data of the WebSocket Data frame. -
-Syntax
-public CompressionMethod Compression { get; set; }-Value
-- One of the WebSocketSharp.CompressionMethod values that indicates the compression method to use. - The default is CompressionMethod.NONE. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Establishes a WebSocket connection. -
-Syntax
-public void Connect ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the cookies used in the WebSocket opening handshake. -
-Syntax
-public IEnumerable<WebSocketSharp.Net.Cookie> Cookies { get; }-Value
-- An IEnumerable<Cookie> interface that provides an enumerator which supports the iteration - over the collection of cookies. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the credentials for HTTP authentication (Basic/Digest). -
-Syntax
-public WsCredential Credentials { get; }-Value
-- A WebSocketSharp.WsCredential that contains the credentials for HTTP authentication. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Closes the WebSocket connection and releases all associated resources. -
-Syntax
-public void Dispose ()-Remarks
-- This method closes the WebSocket connection with the CloseStatusCode.AWAY. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocket extensions selected by the server. -
-Syntax
-public string Extensions { get; }-Value
-- A string that contains the extensions if any. The default is string.Empty. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocket connection is alive. -
-Syntax
-public bool IsAlive { get; }-Value
-- true if the WebSocket connection is alive; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets a value indicating whether the WebSocket connection is secure. -
-Syntax
-public bool IsSecure { get; }-Value
-- true if the connection is secure; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the WebSocketSharp.WebSocket receives a Close frame or the Close method is called. -
-Syntax
-public event EventHandler<CloseEventArgs> OnClose-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the WebSocketSharp.WebSocket gets an error. -
-Syntax
-public event EventHandler<ErrorEventArgs> OnError-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the WebSocketSharp.WebSocket receives a data frame. -
-Syntax
-public event EventHandler<MessageEventArgs> OnMessage-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Occurs when the WebSocket connection has been established. -
-Syntax
-public event EventHandler OnOpen-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets or sets the value of the Origin header used in the WebSocket opening handshake. -
-Syntax
-public string Origin { get; set; }-Value
---- A string that contains the value of the HTTP Origin header to send. - The default is string.Empty. -
-- The value of the Origin header has the following syntax: <scheme>://<host>[:<port>]
-Remarks
-- A WebSocketSharp.WebSocket instance does not send the Origin header in the WebSocket opening handshake - if the value of this property is string.Empty. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a Ping using the WebSocket connection. -
-Syntax
-public bool Ping ()-Returns
-- true if a WebSocketSharp.WebSocket instance receives a Pong in a time; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a Ping with the specified message using the WebSocket connection. -
-Syntax
- -Parameters
----
-- - message -
-- - A string that contains a message to send with a Ping. -
-Returns
-- true if a WebSocketSharp.WebSocket instance receives a Pong in a time; otherwise, false. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocket subprotocol selected by the server. -
-Syntax
-public string Protocol { get; }-Value
-- A string that contains the subprotocol if any. The default is string.Empty. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the state of the WebSocket connection. -
-Syntax
-public WsState ReadyState { get; }-Value
-- One of the WebSocketSharp.WsState values. The default is WsState.CONNECTING. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a binary data using the WebSocket connection. -
-Syntax
- -Parameters
----
-- - data -
-- - An array of byte that contains a binary data to send. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a binary data using the WebSocket connection. -
-Syntax
-public void Send (System.IO.FileInfo file)-Parameters
----
-- - file -
-- - A System.IO.FileInfo that contains a binary data to send. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a text data using the WebSocket connection. -
-Syntax
- -Parameters
----
-- - data -
-- - A string that contains a text data to send. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a binary data asynchronously using the WebSocket connection. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a binary data asynchronously using the WebSocket connection. -
-Syntax
- -Parameters
----
-- - file -
-- - A System.IO.FileInfo that contains a binary data to send. -
-- - completed -
-- - An Action delegate that references the method(s) called when - the asynchronous operation completes. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sends a text data asynchronously using the WebSocket connection. -
-Syntax
- -Parameters
-- --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sets a WebSocketSharp.Net.Cookie used in the WebSocket opening handshake. -
-Syntax
-public void SetCookie (WebSocketSharp.Net.Cookie cookie)-Parameters
----
-- - cookie -
-- - A WebSocketSharp.Net.Cookie that contains an HTTP Cookie to set. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Sets the credentials for HTTP authentication (Basic/Digest). -
-Syntax
- -Parameters
----
-- - userName -
-- - A string that contains a user name associated with the credentials. -
-- - password -
-- - A string that contains a password for userName associated with the credentials. -
-- - preAuth -
-- - true if sends the credentials as a Basic authorization with the first request handshake; - otherwise, false. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the WebSocket URL to connect. -
-Syntax
-public Uri Url { get; }-Value
-- A Uri that contains the WebSocket URL to connect. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Represents the exception that occurred when attempting to perform an operation on the WebSocket connection. -
-- See Also: Inherited members from - Exception. -
-[read-only] | -- - Code - - | -- - CloseStatusCode - . - Gets the WebSocketSharp.CloseStatusCode associated with a WebSocketSharp.WebSocketException. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Gets the WebSocketSharp.CloseStatusCode associated with a WebSocketSharp.WebSocketException. -
-Syntax
-public CloseStatusCode Code { get; }-Value
-- One of the WebSocketSharp.CloseStatusCode values that indicates the cause of the exception. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Provides the credentials for HTTP authentication (Basic/Digest). -
-- See Also: Inherited members from - object. -
-[read-only] | -- - Domain - - | -- - string - . - Gets the name of the user domain associated with the credentials. - | -
[read-only] | -- - Password - - | -- - string - . - Gets the password for the user name associated with the credentials. - | -
[read-only] | -- - UserName - - | -- - string - . - Gets the user name associated with the credentials. - | -
--- Gets the name of the user domain associated with the credentials. -
-Syntax
-public string Domain { get; }-Value
-- A string that contains the name of the user domain associated with the credentials. - Currently, returns the request uri of a WebSocket opening handshake. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the password for the user name associated with the credentials. -
-Syntax
-public string Password { get; }-Value
-- A string that contains the password for the user name associated with the credentials. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Gets the user name associated with the credentials. -
-Syntax
-public string UserName { get; }-Value
-- A string that contains the user name associated with the credentials. --Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Documentation for this section has not yet been entered. -
-- See Also: Inherited members from - Exception. -
-
-
-
- |
-
-
-
- WsReceivedTooBigMessageException
- ()
- |
- - Documentation for this section has not yet been entered. - | -
-
-
- |
- - - | -- Documentation for this section has not yet been entered. - | -
- static
- |
-
-
- IsNull<T>
- (this T)- Determines whether the specified object is null. - |
- |
- static
- |
-
-
- IsNullDo<T>
- (this T, Action)- Determines whether the specified object is null. - And invokes the specified Action delegate if the specified object is null. - |
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public WsReceivedTooBigMessageException ()-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
--- Documentation for this section has not yet been entered. -
-Syntax
-public WsReceivedTooBigMessageException (string message)-Parameters
----
-- - message -
-- - Documentation for this section has not yet been entered. -
-Remarks
-- Documentation for this section has not yet been entered. --Requirements
-- Namespace: WebSocketSharp-
Assembly: websocket-sharp (in websocket-sharp.dll)
-
- Contains the values of the state of the WebSocket connection. -
-Member Name | -Description | -
---|---|
- CLOSED - | -- Equivalent to numeric value 3. Indicates that the connection has been closed or could not be opened. - | -
- CLOSING - | -- Equivalent to numeric value 2. Indicates that the connection is going through the closing handshake, or the Close method has been invoked. - | -
- CONNECTING - | -- Equivalent to numeric value 0. Indicates that the connection has not yet been established. - | -
- OPEN - | -- Equivalent to numeric value 1. Indicates that the connection is established and communication is possible. - | -
-
-The WebSocketSharp namespace contains classes and enumerations to implement the WebSocket interface.
-Type | -Description | -
---|---|
- ByteOrder - | -- Contains the values that indicate whether the byte order is a Little-endian or Big-endian. - | -
- CloseEventArgs - | -- Contains the event data associated with a WebSocketSharp.WebSocket.OnClose event. - | -
- CloseStatusCode - | -- Contains the values of the status codes for the WebSocket connection closure. - | -
- CompressionMethod - | -- Contains the values of the compression methods used to compress the payload data of the WebSocket Data frame. - | -
- ErrorEventArgs - | -- Contains the event data associated with a error event. - | -
- Ext - | -- Provides a set of static methods for the websocket-sharp. - | -
- MessageEventArgs - | -- Contains the event data associated with a WebSocketSharp.WebSocket.OnMessage event. - | -
- Opcode - | -- Contains the values of the opcodes that denotes the frame type of the WebSocket frame. - | -
- WebSocket - | -- Implements the WebSocket interface. - | -
- WebSocketException - | -- Represents the exception that occurred when attempting to perform an operation on the WebSocket connection. - | -
- WsCredential - | -- Provides the credentials for HTTP authentication (Basic/Digest). - | -
- WsState - | -- Contains the values of the state of the WebSocket connection. - | -
-
The WebSocketSharp namespace contains classes and enumerations to implement the WebSocket interface.
-Type | -Description | -
---|---|
- ByteOrder - | -- Contains the values that indicate whether the byte order is a Little-endian or Big-endian. - | -
- CloseEventArgs - | -- Contains the event data associated with a WebSocketSharp.WebSocket.OnClose event. - | -
- CloseStatusCode - | -- Contains the values of the status codes for the WebSocket connection closure. - | -
- CompressionMethod - | -- Contains the values of the compression methods used to compress the payload data of the WebSocket Data frame. - | -
- ErrorEventArgs - | -- Contains the event data associated with a error event. - | -
- Ext - | -- Provides a set of static methods for the websocket-sharp. - | -
- MessageEventArgs - | -- Contains the event data associated with a WebSocketSharp.WebSocket.OnMessage event. - | -
- Opcode - | -- Contains the values of the opcodes that denotes the frame type of the WebSocket frame. - | -
- WebSocket - | -- Implements the WebSocket interface. - | -
- WebSocketException - | -- Represents the exception that occurred when attempting to perform an operation on the WebSocket connection. - | -
- WsCredential - | -- Provides the credentials for HTTP authentication (Basic/Digest). - | -
- WsState - | -- Contains the values of the state of the WebSocket connection. - | -
The WebSocketSharp.Net namespace contains some modified classes and enumerations in the System.Net namespace (e.g. System.Net.HttpListenerContext) to accept the WebSocket connection requests.
-Type | -Description | -
---|---|
- AuthenticationSchemes - | -- Contains the values of the schemes for authentication. - | -
- AuthenticationSchemeSelector - | -- Selects the authentication scheme for a WebSocketSharp.Net.HttpListener instance. - | -
- Cookie - | -- Provides a set of properties and methods used to manage an HTTP Cookie. - | -
- CookieCollection - | -- Provides a collection container for instances of the WebSocketSharp.Net.Cookie class. - | -
- CookieException - | -- The exception that is thrown when a WebSocketSharp.Net.Cookie gets an error. - | -
- HttpListener - | -- Provides a simple, programmatically controlled HTTP listener. - | -
- HttpListenerContext - | -- Provides access to the HTTP request and response objects used by the WebSocketSharp.Net.HttpListener class. - | -
- HttpListenerException - | -- The exception that is thrown when an error occurs processing an HTTP request. - | -
- HttpListenerPrefixCollection - | -- Provides the collection used to store the URI prefixes for the WebSocketSharp.Net.HttpListener. - | -
- HttpListenerRequest - | -- Provides access to a request to a WebSocketSharp.Net.HttpListener instance. - | -
- HttpListenerResponse - | -- Provides access to a response to a request being processed by a WebSocketSharp.Net.HttpListener instance. - | -
- HttpStatusCode - | -- Contains the values of the HTTP status codes. - | -
- HttpVersion - | -- Provides the HTTP version numbers. - | -
- WebHeaderCollection - | -- Provides a collection of the HTTP headers associated with a request or response. - | -
The WebSocketSharp.Net.WebSockets namespace contains classes to access to the WebSocket connection request objects.
-Type | -Description | -
---|---|
- HttpListenerWebSocketContext - | -- Provides access to the WebSocket connection request objects received by the WebSocketSharp.Net.HttpListener class. - | -
- TcpListenerWebSocketContext - | -- Provides access to the WebSocket connection request objects received by the System.Net.Sockets.TcpListener class. - | -
- WebSocketContext - | -- Provides access to the WebSocket connection request objects. - | -
The WebSocketSharp.Server namespace contains classes to implement the server that receives the WebSocket connection requests.
-Type | -Description | -
---|---|
- HttpRequestEventArgs - | -- Contains the event data associated with the HTTP request events of the WebSocketSharp.Server.HttpServer class. - | -
- HttpServer - | -- Provides a simple HTTP server that allows to accept the WebSocket connection requests. - | -
- IServiceHost - | -- Exposes the methods and properties for the WebSocket service host. - | -
- WebSocketServer - | -- Provides the functions of the server that receives the WebSocket connection requests. - | -
- WebSocketServerBase - | -- Provides the basic functions of the server that receives the WebSocket connection requests. - | -
- WebSocketService - | -- Provides the basic functions of the WebSocket service. - | -
- WebSocketServiceHost<T> - | -- Provides the functions of the server that receives the WebSocket connection requests. - | -
- WebSocketServiceManager - | -- Manages the collection of WebSocketSharp.Server.WebSocketService objects. - | -
- <?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>
-
-