/home/starless/Projects/websocket-sharp/websocket-sharp/bin/Release_Ubuntu/websocket-sharp Provides a set of static methods for the websocket-sharp. Accepts a WebSocket connection by the . A that contains a WebSocket connection. A that provides a TCP connection to accept a WebSocket connection. A that indicates a secure connection or not. (true indicates a secure connection.) is . Accepts a WebSocket connection asynchronously by the . A that provides a TCP connection to accept a WebSocket connection. A that indicates a secure connection or not. (true indicates a secure connection.) An Action<TcpListenerWebSocketContext> delegate that contains the method(s) that is called when an asynchronous operation completes. is . Determines whether the specified contains any of characters in the specified array of . true if contains any of ; otherwise, false. A to test. An array of that contains characters to find. Emit the specified delegate if is not . An to emit. An that emits the . An that contains no event data. Emit the specified EventHandler<TEventArgs> delegate if is not . An EventHandler<TEventArgs> to emit. An that emits the . A TEventArgs that contains the event data. The type of the event data generated by the event. Determines whether the specified equals the specified as . And save this specified as to the specified List<byte>. true if the parameter equals the parameter as ; otherwise, false. An to compare. A to compare. A List<byte> to save the as . Is thrown when the parameter passed to a method is invalid because it is outside the allowable range of values as . Determines whether the entry with the specified key exists in the specified . true if the entry with the exists in the ; otherwise, false. A that contains the entries. A that contains the key of the entry to find. Determines whether the entry with the specified both key and value exists in the specified . true if the entry with the both and exists in the ; otherwise, false. A that contains the entries. A that contains the key of the entry to find. A that contains the value of the entry to find. Gets the absolute path from the specified . A that contains the absolute path if got successfully; otherwise, . A that contains the URI to get the absolute path from. Gets the collection of cookies from the specified . A that receives a collection of the HTTP Cookies. A that contains a collection of the HTTP Headers. true if gets from the response ; from the request , false. Gets the description of the HTTP status code using the specified . A that contains the description of the HTTP status code. One of values that contains an HTTP status code. Gets the name from the specified that contains a pair of name and value are separated by a separator string. A that contains the name if any; otherwise, null. A that contains a pair of name and value are separated by a separator string. A that contains a separator string. Gets the name and value from the specified that contains a pair of name and value are separated by a separator string. A KeyValuePair<string, string> that contains the name and value if any. A that contains a pair of name and value are separated by a separator string. A that contains a separator string. Gets the description of the HTTP status code using the specified . A that contains the description of the HTTP status code. An that contains an HTTP status code. Gets the value from the specified that contains a pair of name and value are separated by a separator string. A that contains the value if any; otherwise, null. A that contains a pair of name and value are separated by a separator string. A that contains a separator string. Determines whether the specified is in the allowable range of the WebSocket close status code. 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. true if is in the allowable range of the WebSocket close status code; otherwise, false. A to test. Determines whether the specified is empty. true if is empty; otherwise, false. A to test. Determines whether the specified is enclosed in the specified . true if is enclosed in ; otherwise, false. A to test. A that contains character to find. Determines whether the specified is host (this computer architecture) byte order. true if the parameter is host byte order; otherwise, false. A to test. Determines whether the specified represents a local IP address. true if represents a local IP address; otherwise, false. A to test. is . Determines whether the specified object is . true if is ; otherwise, false. An object to test. The type of parameter. Determines whether the specified object is . And invokes the specified delegate if the specified object is . true if the parameter is ; otherwise, false. A class to test. An delegate that contains the method(s) called if the is . The type of the parameter. Determines whether the specified is or empty. true if the parameter is or empty; otherwise, false. A to test. Determines whether the specified is predefined scheme. true if the parameter is the predefined scheme; otherwise, false. A to test. Determines whether the specified is the HTTP Upgrade request to switch to the specified . true if the specified is the HTTP Upgrade request to switch to the specified ; otherwise, false. A that contains an HTTP request information. A that contains a protocol name. is . -or- is . is . Determines whether the specified is valid absolute path. true if the parameter is valid absolute path; otherwise, false. A to test. A that receives a message if the is invalid. Determines whether the specified is a URI string. true if the parameter is maybe a URI string; otherwise, false. A to test. Determines whether two specified objects don't have the same value. true if the value of parameter isn't the same as the value of parameter; otherwise, false. The first to compare. The second to compare. A that indicates a case-sensitive or insensitive comparison. (true indicates a case-insensitive comparison.) Reads a block of bytes from the specified stream and returns the read data in an array of . An array of that receives the read data. A that contains the data to read. An that contains the number of bytes to read. Reads a block of bytes from the specified stream and returns the read data in an array of . An array of that receives the read data. A that contains the data to read. A that contains the number of bytes to read. Reads a block of bytes from the specified stream and returns the read data in an array of . An array of that receives the read data. A that contains the data to read. A that contains the number of bytes to read. An that contains the buffer size in bytes of each internal read. Retrieves a sub-array from the specified . A sub-array starts at the specified element position. An array of T that receives a sub-array, or an empty array of T if any problems with the parameters. An array of T that contains the data to retrieve a sub-array. An that contains the zero-based starting position of a sub-array in the . An that contains the number of elements to retrieve a sub-array. The type of elements in the . Executes the specified delegate times. An is the number of times to execute. An delegate that references the method(s) to execute. Executes the specified delegate times. A is the number of times to execute. An delegate that references the method(s) to execute. Executes the specified delegate times. A is the number of times to execute. An delegate that references the method(s) to execute. Executes the specified delegate times. A is the number of times to execute. An delegate that references the method(s) to execute. Executes the specified Action<int> delegate times. An is the number of times to execute. An Action<int> delegate that references the method(s) to execute. An parameter to pass to the method(s) is the zero-based count of iteration. Executes the specified Action<long> delegate times. A is the number of times to execute. An Action<long> delegate that references the method(s) to execute. A parameter to pass to the method(s) is the zero-based count of iteration. Executes the specified Action<uint> delegate times. A is the number of times to execute. An Action<uint> delegate that references the method(s) to execute. A parameter to pass to the method(s) is the zero-based count of iteration. Executes the specified Action<ulong> delegate times. A is the number of times to execute. An Action<ulong> delegate that references the method(s) to execute. A parameter to pass to this method(s) is the zero-based count of iteration. Converts the specified array of to the specified type data. A T converted from the , or a default value of T if the is an empty array of or if the types of T aren't the , , , , , , , , , . An array of to convert. A that indicates the byte order of the . The type of the return value. The T must be a value type. Is thrown when the parameter passed to a method is invalid because it is . Converts the specified data to an array of . An array of converted from the . A T to convert. A that indicates the byte order of the return. The type of the . The T must be a value type. Converts the order of the specified array of to the host byte order. An array of converted from the . An array of to convert. A that indicates the byte order of the . Is thrown when the parameter passed to a method is invalid because it is . Converts the specified array to a concatenated the specified separator string between each element of this array. A converted from the parameter, or a if the length of the is zero. An array of T to convert. A that contains a separator string. The type of elements in the . Is thrown when the parameter passed to a method is invalid because it is . Converts the specified to a object. A converted from the parameter, or if the is or . A to convert. Tries to create a new WebSocket using the specified . true if the WebSocket was successfully created; otherwise, false. A that contains a WebSocket URI. When this method returns, contains a created WebSocket if the parameter is valid WebSocket URI; otherwise, . When this method returns, contains a error message if the parameter is invalid WebSocket URI; otherwise, String.Empty. Is thrown when the parameter passed to a method is invalid because it is . URL-decodes the specified . A that receives a decoded string, or the parameter if the is or . A to decode. URL-encodes the specified . A that receives a encoded string, or the parameter if the is or . A to encode. Writes the specified content data using the specified . A that contains a network stream to write a content data. An array of that contains a content data to write. Is thrown when the parameter passed to a method is invalid because it is . Contains the values of the state of the WebSocket connection. The WsState enumeration contains the values of the state of the WebSocket connection defined in The WebSocket API. Equivalent to numeric value 0. Indicates that the connection has not yet been established. Equivalent to numeric value 1. Indicates that the connection is established and communication is possible. Equivalent to numeric value 2. Indicates that the connection is going through the closing handshake, or the Close method has been invoked. Equivalent to numeric value 3. Indicates that the connection has been closed or could not be opened. Contains the event data associated with a event. The event occurs when the WebSocket receives a text or binary data frame. If you want to get the received data, you should access the or properties. Gets the received data as a . A that contains the received data. Gets the received data as an array of . An array of that contains the received data. Gets the type of the received data. One of the values that indicates the type of the received data. Contains the event data associated with a event. The event occurs when the WebSocket receives a close control frame or the WebSocket.Close method is called. If you want to get the reason for closure, you should access the or properties. Gets the status code for closure. A that contains a status code for closure. Gets the reason for closure. A that contains a reason for closure. Indicates whether the WebSocket connection closed cleanly. true if the WebSocket connection closed cleanly; otherwise, false. Contains the values that indicate whether the byte order is a Little-endian or Big-endian. Indicates a Little-endian. Indicates a Big-endian. Contains the event data associated with a error event. The error event occurs when this event sender gets an error. If you want to get the error message, you should access the property. Gets the error message. A that contains a error message. Implements the WebSocket interface. The WebSocket class provides a set of methods and properties for two-way communication using the WebSocket protocol (RFC 6455). Initializes a new instance of the class with the specified WebSocket URL and subprotocols. A that contains a WebSocket URL to connect. An array of that contains the WebSocket subprotocols if any. is . is not valid WebSocket URL. Initializes a new instance of the class with the specified WebSocket URL, OnOpen, OnMessage, OnError, OnClose event handlers and subprotocols. This constructor initializes a new instance of the class and establishes a WebSocket connection. A that contains a WebSocket URL to connect. An event handler. An event handler. An event handler. An event handler. An array of that contains the WebSocket subprotocols if any. is . is not valid WebSocket URL. Occurs when the receives a Close frame or the Close method is called. Occurs when the gets an error. Occurs when the receives a data frame. Occurs when the WebSocket connection has been established. Gets or sets the compression method used to compress the payload data of the WebSocket Data frame. One of the values that indicates the compression method to use. The default is . Gets the cookies used in the WebSocket opening handshake. An IEnumerable<Cookie> interface that provides an enumerator which supports the iteration over the collection of cookies. Gets the WebSocket extensions selected by the server. A that contains the extensions if any. The default is . Gets a value indicating whether the WebSocket connection is alive. true if the connection is alive; otherwise, false. Gets a value indicating whether the WebSocket connection is secure. true if the connection is secure; otherwise, false. Gets or sets the value of the Origin header used in the WebSocket opening handshake. A instance does not send the Origin header in the WebSocket opening handshake if the value of this property is . A that contains the value of the HTTP Origin header to send. The default is . The value of the Origin header has the following syntax: <scheme>://<host>[:<port>] Gets the WebSocket subprotocol selected by the server. A that contains the subprotocol if any. The default is . Gets the state of the WebSocket connection. One of the values. The default is . Gets the WebSocket URL to connect. A that contains the WebSocket URL to connect. Closes the WebSocket connection and releases all associated resources. Closes the WebSocket connection with the specified and releases all associated resources. This Close method emits a event if is not in the allowable range of the WebSocket close status code. A that indicates the status code for closure. Closes the WebSocket connection with the specified and releases all associated resources. One of the values that indicates the status code for closure. Closes the WebSocket connection with the specified and , and releases all associated resources. This Close method emits a event if is not in the allowable range of the WebSocket close status code. A that indicates the status code for closure. A that contains the reason for closure. Closes the WebSocket connection with the specified and , and releases all associated resources. One of the values that indicates the status code for closure. A that contains the reason for closure. Establishes a WebSocket connection. Closes the WebSocket connection and releases all associated resources. This method closes the WebSocket connection with the . Pings using the WebSocket connection. true if the receives a Pong in a time; otherwise, false. Pings with the specified using the WebSocket connection. A that contains a message. true if the receives a Pong in a time; otherwise, false. Sends a binary using the WebSocket connection. An array of that contains a binary data to send. Sends a text using the WebSocket connection. A that contains a text data to send. Sends a binary data using the WebSocket connection. A that contains a binary data to send. Sends a binary asynchronously using the WebSocket connection. An array of that contains a binary data to send. An delegate that references the method(s) called when the asynchronous operation completes. Sends a text asynchronously using the WebSocket connection. A that contains a text data to send. An delegate that references the method(s) called when the asynchronous operation completes. Sends a binary data asynchronously using the WebSocket connection. A that contains a binary data to send. An delegate that references the method(s) called when the asynchronous operation completes. Sets a used in the WebSocket opening handshake. A that contains an HTTP Cookie to set. Provides the functions of the server that receives the WebSocket connection requests. The WebSocketServer class provides the multi WebSocket service. Initializes a new instance of the class. Initializes a new instance of the class that listens for incoming connection attempts on the specified . An that contains a port number. Initializes a new instance of the class that listens for incoming connection attempts on the specified WebSocket URL. A that contains a WebSocket URL. Initializes a new instance of the class that listens for incoming connection attempts on the specified and . An that contains a port number. A that indicates providing a secure connection or not. (true indicates providing a secure connection.) Initializes a new instance of the class that listens for incoming connection attempts on the specified and . A that contains a local IP address. An that contains a port number. Initializes a new instance of the class that listens for incoming connection attempts on the specified , and . A that contains a local IP address. An that contains a port number. A that indicates providing a secure connection or not. (true indicates providing a secure connection.) Gets the collection of paths associated with the every WebSocket services that the server provides. An IEnumerable<string> that contains the collection of paths. Gets or sets a value indicating whether the server cleans up the inactive clients periodically. true if the server cleans up the inactive clients every 60 seconds; otherwise, false. The default value is true. Accepts a WebSocket connection request. A that contains the WebSocket connection request objects. Adds the specified type WebSocket service. A that contains an absolute path associated with the WebSocket service. The type of the WebSocket service. The T must inherit the class. Broadcasts the specified to all clients. A to broadcast. Stops receiving the WebSocket connection requests. Provides the basic functions of the WebSocket service. The WebSocketService class is an abstract class. Initializes a new instance of the class. Gets the collection of query string variables used in the WebSocket opening handshake. A that contains the collection of query string variables. Gets the sessions to the . A that contains the sessions to the the . Gets the ID of the instance. A that contains an ID. Gets a value indicating whether the instance is bound to a . true if the instance is bound to a ; otherwise, false. Occurs when the inner receives a Close frame or the Stop method is called. A that contains the event data associated with a event. Occurs when the inner gets an error. An that contains the event data associated with a event. Occurs when the inner receives a data frame. A that contains the event data associated with a event. Occurs when the WebSocket connection has been established. Processes the cookies used in the WebSocket opening handshake. true if processing the cookies is successfully; otherwise, false. A that contains a collection of the HTTP Cookies received from the client. A that contains a collection of the HTTP Cookies to send to the client. Broadcasts the specified array of to the clients of every instances in the . An array of to broadcast. Broadcasts the specified to the clients of every instances in the . A to broadcast. Pings to the clients of every instances in the . A Dictionary<string, bool> that contains the collection of IDs and values indicating whether each instances received a Pong in a time. Pings with the specified to the clients of every instances in the . A Dictionary<string, bool> that contains the collection of IDs and values indicating whether each instances received a Pong in a time. A that contains a message. Pings to the client of the instance. true if the instance receives a Pong in a time; otherwise, false. Pings with the specified to the client of the instance. true if the instance receives a Pong in a time; otherwise, false. A that contains a message. Pings to the client of the instance associated with the specified . true if the instance receives a Pong in a time; otherwise, false. A that contains an ID that represents the destination for the Ping. Pings with the specified to the client of the instance associated with the specified . true if the instance receives a Pong in a time; otherwise, false. A that contains an ID that represents the destination for the Ping. A that contains a message. Sends a binary data to the client of the instance. An array of that contains a binary data to send. Sends a text data to the client of the instance. A that contains a text data to send. Sends a binary data to the client of the instance associated with the specified . A that contains an ID that represents the destination for the data. An array of that contains a binary data to send. Sends a text data to the client of the instance associated with the specified . A that contains an ID that represents the destination for the data. A that contains a text data to send. Starts the instance. Stops the instance. Stops the instance with the specified and . A that contains a status code indicating the reason for stop. A that contains a reason for stop. Stops the instance with the specified and . One of the values that contains a status code indicating the reason for stop. A that contains a reason for stop. Selects the authentication scheme for a instance. One of the values that indicates the scheme used to authenticate the specified client request. A that contains a client request information. Contains the values of the schemes for authentication. Indicates that no authentication is allowed. Indicates digest authentication. Indicates negotiating with the client to determine the authentication scheme. Indicates NTLM authentication. Indicates Windows authentication. Indicates basic authentication. Indicates anonymous 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. Initializes a new instance of the class. Initializes a new instance of the class with the specified and . A that contains the Name of the cookie. A that contains the Value of the cookie. is or . - or - contains an invalid character. - or - is . - or - contains a string not enclosed in double quotes that contains an invalid character. Initializes a new instance of the class with the specified , and . A that contains the Name of the cookie. A that contains the Value of the cookie. A that contains the value of the Path attribute of the cookie. is or . - or - contains an invalid character. - or - is . - or - contains a string not enclosed in double quotes that contains an invalid character. Initializes a new instance of the class with the specified , , and . A that contains the Name of the cookie. A that contains the Value of the cookie. A that contains the value of the Path attribute of the cookie. A that contains the value of the Domain attribute of the cookie. is or . - or - contains an invalid character. - or - is . - or - contains a string not enclosed in double quotes that contains an invalid character. Gets or sets the value of the Comment attribute of the cookie. A that contains a comment to document intended use of the cookie. Gets or sets the value of the CommentURL attribute of the cookie. A that contains a URI that provides the comment to document intended use of the cookie. Gets or sets a value indicating whether the client discards the cookie unconditionally when the client terminates. true if the client discards the cookie unconditionally when the client terminates; otherwise, false. The default is false. Gets or sets the value of the Domain attribute of the cookie. A that contains a URI for which the cookie is valid. Gets or sets a value indicating whether the cookie has expired. true if the cookie has expired; otherwise, false. The default is false. Gets or sets the value of the Expires attribute of the cookie. A that contains the date and time at which the cookie expires. The default is . Gets or sets a value indicating non-HTTP APIs can access the cookie. true if non-HTTP APIs can not access the cookie; otherwise, false. Gets or sets the Name of the cookie. A that contains the Name of the cookie. The value specified for a set operation is or . - or - The value specified for a set operation contains an invalid character. Gets or sets the value of the Path attribute of the cookie. A that contains a subset of URI on the origin server to which the cookie applies. Gets or sets the value of the Port attribute of the cookie. A that contains a list of the TCP ports to which the cookie applies. The value specified for a set operation is not enclosed in double quotes or could not be parsed. Gets or sets a value indicating whether the security level of the cookie is secure. When this property is true, the cookie may be included in the HTTP request only if the request is transmitted over the HTTPS. true if the security level of the cookie is secure; otherwise, false. The default is false. Gets the time when the cookie was issued. A that contains the time when the cookie was issued. Gets or sets the Value of the cookie. A that contains the Value of the cookie. The value specified for a set operation is . - or - The value specified for a set operation contains a string not enclosed in double quotes that contains an invalid character. Gets or sets the value of the Version attribute of the cookie. An that contains the version of the HTTP state management to which the cookie conforms. The value specified for a set operation is not allowed. The value must be 0 or 1. Determines whether the specified is equal to the current . An to compare with the current . true if the specified is equal to the current ; otherwise, false. Serves as a hash function for a object. An that contains a hash code for this instance. Returns a that represents the current . This method returns a to use to send an HTTP Cookie to an origin server. A that represents the current . Provides a collection container for instances of the class. Initializes a new instance of the class. Gets the with the specified from the . A with the specified in the . An is the zero-based index of the to find. is less than zero or is greater than or equal to . Gets the with the specified from the . A with the specified in the . A is the name of the to find. is . Gets the number of cookies contained in the . An that indicates the number of cookies contained in the . Gets a value indicating whether the is read-only. true if the is read-only; otherwise, false. The default is true. Gets a value indicating whether access to the is thread safe. true if access to the is thread safe; otherwise, false. The default is false. Gets an object to use to synchronize access to the . An to use to synchronize access to the . Add the specified to the . A to add to the . is . Add the elements of the specified to the current . A to add to the current . is . Copies the elements of the to the specified , starting at the specified in the . An is the destination of the elements copied from the . An that indicates the zero-based index in at which copying begins. is . is less than zero. is multidimensional. -or- The number of elements in the is greater than the available space from index to the end of the destination . The elements in the cannot be cast automatically to the type of the destination . Copies the elements of the to the specified array of , starting at the specified in the . An array of is the destination of the elements copied from the . An that indicates the zero-based index in at which copying begins. is . is less than zero. The number of elements in the is greater than the available space from index to the end of the destination . Gets the enumerator to use to iterate through the . An instance of an implementation of the interface to use to iterate through the . The exception that is thrown when a gets an error. Initializes a new instance of the class with the specified and . A that holds the serialized object data. A that contains the contextual information about the source or destination. Initializes a new instance of the class. Populates the specified with the data needed to serialize the . A that holds the serialized object data. A that specifies the destination for the serialization. Populates the specified with the data needed to serialize the . A that holds the serialized object data. A that specifies the destination for the serialization. Provides a simple, programmatically controlled HTTP listener. Initializes a new instance of the class. Gets or sets the scheme used to authenticate the clients. One of the values that indicates the scheme used to authenticate the clients. The default value is . This object has been closed. Gets or sets the delegate called to determine the scheme used to authenticate clients. A delegate that invokes the method(s) used to select an authentication scheme. The default value is . This object has been closed. Gets or sets a value indicating whether the returns exceptions that occur when sending the response to the client. true if does not return exceptions that occur when sending the response to the client; otherwise, false. The default value is false. This object has been closed. Gets a value indicating whether the has been started. true if the has been started; otherwise, false. Gets a value indicating whether the can be used with the current operating system. true. Gets the URI prefixes handled by the . A that contains the URI prefixes. This object has been closed. Gets or sets the name of the realm associated with the . A that contains the name of the realm. This object has been closed. 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. true if the authentication information of first request is used; otherwise, false. The default value is false. This object has been closed. Releases all resource used by the . Shuts down the immediately. Begins getting an incoming request information asynchronously. This asynchronous operation must be completed by calling the method. Typically, the method is invoked by the delegate. An that contains the status of the asynchronous operation. An delegate that references the method(s) called when the asynchronous operation completes. An that contains a user defined object to pass to the delegate. This object has been closed. The has not been started or is stopped currently. Shuts down the . Ends an asynchronous operation to get an incoming request information. This method completes an asynchronous operation started by calling the method. A that contains a client's request information. An obtained by calling the method. This object has been closed. is . was not obtained by calling the method. The EndGetContext method was already called for the specified . Gets an incoming request information. This method waits for an incoming request and returns the request information when received the request. A that contains a client's request information. The does not have any URI prefixes to listen on. -or- The has not been started or is stopped currently. This object has been closed. Starts to receive incoming requests. This object has been closed. Stops receiving incoming requests. This object has been closed. Provides access to the HTTP request and response objects used by the class. The HttpListenerContext class cannot be inherited. Gets the that contains the HTTP request from a client. A that contains the HTTP request objects. Gets the that contains the HTTP response to send to the client in response to the client's request. A that contains the HTTP response objects. Gets the client information (identity, authentication information and security roles). A contains the client information. Accepts a WebSocket connection by the . A that contains a WebSocket connection. The exception that is thrown when an error occurs processing an HTTP request. Initializes a new instance of the class. Initializes a new instance of the class with the specified . An that contains an error code. Initializes a new instance of the class with the specified and . An that contains an error code. A that describes the error. Initializes a new instance of the class from the specified and classes. A that contains the information required to deserialize the new object. A . Gets a value that represents the error that occurred. An that contains an error code. Provides the collection used to store the URI prefixes for the . Gets the number of prefixes contained in the . A that contains the number of prefixes. Gets a value indicating whether access to the is read-only. Always returns false. Gets a value indicating whether access to the is synchronized. Always returns false. Gets an object that can be used to iterate through the . An object that implements the interface and provides access to the URI prefix strings in the . Adds the specified to the . A that contains a URI prefix to add. is . The associated with this is closed. Removes all URI prefixes from the . The associated with this is closed. Returns a value indicating whether the contains the specified . true if the contains the specified ; otherwise, false. A that contains a URI prefix to test. is . The associated with this is closed. Copies the contents of the to the specified . An that receives the URI prefix strings in the . An that contains the zero-based index in at which copying begins. The associated with this is closed. Copies the contents of the to the specified array of . An array of that receives the URI prefix strings in the . An that contains the zero-based index in at which copying begins. The associated with this is closed. Gets an object that can be used to iterate through the . An object that implements the IEnumerator<string> interface and provides access to the URI prefix strings in the . Removes the specified from the list of prefixes in the . true if the was found in the and removed; otherwise, false. A that contains a URI prefix to remove. is . The associated with this is closed. Provides access to a request to a instance. The HttpListenerRequest class cannot be inherited. Gets the media types which are acceptable for the response. An array of that contains the media type names in the Accept request-header field or if the request did not include an Accept header. Gets an error code that identifies a problem with the client's certificate. Always returns 0. Gets the encoding that can be used with the entity body data included in the request. A that contains the encoding that can be used with the entity body data. Gets the size of the entity body data included in the request. A 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. Gets the media type of the entity body included in the request. A that contains the value of the Content-Type entity-header field. Gets the cookies included in the request. A that contains the cookies included in the request. Gets a value indicating whether the request has the entity body. true if the request has the entity body; otherwise, false. Gets the HTTP headers used in the request. A that contains the HTTP headers used in the request. Gets the HTTP method used in the request. A that contains the HTTP method used in the request. Gets a that contains the entity body data included in the request. A that contains the entity body data included in the request. Gets a value indicating whether the client that sent the request is authenticated. Always returns false. Gets a value indicating whether the request is sent from the local computer. true if the request is sent from the local computer; otherwise, false. Gets a value indicating whether the HTTP connection is secured using the SSL protocol. true if the HTTP connection is secured; otherwise, false. Gets a value indicating whether the request is a WebSocket connection request. true if the request is a WebSocket connection request; otherwise, false. Gets a value indicating whether the client requests a persistent connection. true if the client requests a persistent connection; otherwise, false. Gets the server endpoint as an IP address and a port number. A that contains the server endpoint. Gets the HTTP version used in the request. A that contains the HTTP version used in the request. Gets the collection of query string variables used in the request. A that contains the collection of query string variables used in the request. Gets the raw URL (without the scheme, host and port) requested by the client. A that contains the raw URL requested by the client. Gets the client endpoint as an IP address and a port number. A that contains the client endpoint. Gets the identifier of a request. A that contains the identifier of a request. Gets the URL requested by the client. A that contains the URL requested by the client. Gets the URL of the resource from which the requested URL was obtained. A that contains the value of the Referer request-header field. Gets the information about the user agent originating the request. A that contains the value of the User-Agent request-header field. Gets the server endpoint as an IP address and a port number. A that contains the server endpoint. Gets the internet host name and port number (if present) of the resource being requested. A that contains the value of the Host request-header field. Gets the natural languages that are preferred as a response to the request. An array of that contains the natural language names in the Accept-Language request-header field. Begins getting the client's X.509 v.3 certificate asynchronously. This asynchronous operation must be completed by calling the method. Typically, the method is invoked by the delegate. An that contains the status of the asynchronous operation. An delegate that references the method(s) called when the asynchronous operation completes. An that contains a user defined object to pass to the delegate. This method is not implemented. Ends an asynchronous operation to get the client's X.509 v.3 certificate. This method completes an asynchronous operation started by calling the method. A that contains the client's X.509 v.3 certificate. An obtained by calling the method. This method is not implemented. Gets the client's X.509 v.3 certificate. A that contains the client's X.509 v.3 certificate. This method is not implemented. Provides access to a response to a request being processed by a instance. The HttpListenerResponse class cannot be inherited. Gets or sets the encoding that can be used with the entity body data included in the response. A that contains the encoding that can be used with the entity body data. This object is closed. The response has been sent already. Gets or sets the size of the entity body data included in the response. A that contains the value of the Content-Length entity-header field. The value is a number of bytes in the entity body data. This object is closed. The response has been sent already. The value specified for a set operation is less than zero. Gets or sets the media type of the entity body included in the response. The type of the content. A that contains the value of the Content-Type entity-header field. This object is closed. The response has been sent already. The value specified for a set operation is . The value specified for a set operation is a . Gets or sets the cookies returned with the response. A that contains the cookies returned with the response. Gets or sets the HTTP headers returned to the client. A that contains the HTTP headers returned to the client. Gets or sets a value indicating whether the server requests a persistent connection. true if the server requests a persistent connection; otherwise, false. The default is true. This object is closed. The response has been sent already. Gets a to use to write the entity body data. A to use to write the entity body data. This object is closed. Gets or sets the HTTP version used in the response. A that contains the HTTP version used in the response. This object is closed. The response has been sent already. The value specified for a set operation is . The value specified for a set operation does not have its Major property set to 1 or does not have its Minor property set to either 0 or 1. Gets or sets the URL to which the client is redirected to locate a requested resource. A that contains the value of the Location response-header field. This object is closed. The response has been sent already. The value specified for a set operation is a . Gets or sets a value indicating whether the response uses the chunked transfer encoding. true if the response uses the chunked transfer encoding; otherwise, false. This object is closed. The response has been sent already. Gets or sets the HTTP status code returned to the client. An that indicates the HTTP status code for the response to the request. The default is . This object is closed. The response has been sent already. The value specified for a set operation is invalid. Valid values are between 100 and 999. Gets or sets a description of the HTTP status code returned to the client. A that contains a description of the HTTP status code returned to the client. Releases all resource used by the . Closes the connection to the client without sending a response. Adds the specified HTTP header and to the headers for this response. A that contains the name of the HTTP header to add. A that contains the value of the HTTP header to add. is or . The length of is greater than 65,535 characters. Adds the specified to the sent with the response. A to add to the . is . Appends a to the specified HTTP header sent with the response. A that contains the name of the HTTP header to append to. A that contains the value to append to the HTTP header. is or . The length of is greater than 65,535 characters. Sends the response to the client and releases the resources associated with the instance. Sends the response with the specified array of to the client and releases the resources associated with the instance. An array of that contains the response entity body data. true if this method blocks execution while flushing the stream to the client; otherwise, false. is . This object is closed. Copies properties from the specified to this response. A to copy. Configures the response to redirect the client's request to the specified . A that contains a URL to redirect the client's request to. Adds or updates a in the sent with the response. A to set. is . already exists in the and could not be replaced. Decodes an HTML-encoded string and returns the decoded string. The HTML string to decode. The decoded text. Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream. The HTML string to decode. The TextWriter output stream containing the decoded string. HTML-encodes a string and returns the encoded string. The text string to encode. The HTML-encoded text. HTML-encodes a string and sends the resulting output to a TextWriter output stream. The string to encode. The TextWriter output stream containing the encoded string. Provides a collection of the HTTP headers associated with a request or response. Initializes a new instance of the class with the specified and . A that contains the data to need to serialize the object. A that contains the source of the serialized stream associated with the new . is . An element with the specified name is not found in . Initializes a new instance of the class. Gets or sets the specified request in the collection. A that contains the value of the specified request . A that indicates a request header. The current instance does not allow any of values. is a restricted header. -or- contains invalid characters. The length of is greater than 65535. Gets or sets the specified response in the collection. A that contains the value of the specified response . A that indicates a response header. The current instance does not allow any of values. is a restricted header. -or- contains invalid characters. The length of is greater than 65535. Gets all header names in the collection. An array of that contains all header names in the collection. Gets the number of headers in the collection. An that indicates the number of headers in the collection. Gets a collection of header names in the collection. A that contains a collection of header names in the collection. Populates the specified with the data to need to serialize the object. A that holds the data to need to serialize the object. A that specifies the destination for the serialization. is . Adds a header to the collection without checking whether the header is on the restricted header list. A that contains the name of the header to add. A that contains the value of the header to add. is or . or contains invalid characters. The length of is greater than 65535. The current instance does not allow the . Adds the specified to the collection. A that contains a header with the name and value separated by a colon (:). is , , or the name part of is . does not contain a colon. -or- is a restricted header. -or- The name or value part of contains invalid characters. The length of the value part of is greater than 65535. The current instance does not allow the . Adds the specified request with the specified to the collection. A is a request header to add. A that contains the value of the header to add. The current instance does not allow any of values. is a restricted header. -or- contains invalid characters. The length of is greater than 65535. Adds the specified response with the specified to the collection. A is a response header to add. A that contains the value of the header to add. The current instance does not allow any of values. is a restricted header. -or- contains invalid characters. The length of is greater than 65535. Adds a header with the specified and to the collection. A that contains the name of the header to add. A that contains the value of the header to add. is or . or contains invalid characters. -or- is a restricted header name. The length of is greater than 65535. The current instance does not allow the header . Removes all headers from the collection. Get the value of the header with the specified in the collection. A that receives the value of the header. An that is the zero-based index of the header to get. Get the value of the header with the specified in the collection. A that receives the value of the header. if there is no header with in the collection. A that contains the name of the header to get. Gets the enumerator to use to iterate through the . An instance of an implementation of the interface to use to iterate through the . Get the header name at the specified position in the collection. A that receives the header name. An is the zero-based index of the key to get from the collection. Gets an array of header values stored in the specified name. An array of that receives the header values. A that contains a header name. Gets an array of header values stored in the specified position of the header collection. An array of that receives the header values. An is the zero-based index of the header in the collection. Populates the specified with the data to need to serialize the object. A that holds the data to need to serialize the object. A that specifies the destination for the serialization. is . Determines whether the specified header can be set for the request. true if the header is restricted; otherwise, false. A that contains the name of the header to test. is or . contains invalid characters. Determines whether the specified header can be set for the request or the response. true if the header is restricted; otherwise, false. A that contains the name of the header to test. true if does the test for the response; for the request, false. is or . contains invalid characters. Implements the interface and raises the deserialization event when the deserialization is complete. An that contains the source of the deserialization event. Removes the specified header from the collection. A to remove from the collection. The current instance does not allow any of values. is a restricted header. Removes the specified header from the collection. A to remove from the collection. The current instance does not allow any of values. is a restricted header. Removes the specified header from the collection. A that contains the name of the header to remove from the collection. is or . contains invalid characters. -or- is a restricted header name. The current instance does not allow the header . Sets the specified header to the specified value. A to set. A that contains the value of the header to set. The current instance does not allow any of values. is a restricted header. -or- contains invalid characters. The length of is greater than 65535. Sets the specified header to the specified value. A to set. A that contains the value of the header to set. The current instance does not allow any of values. is a restricted header. -or- contains invalid characters. The length of is greater than 65535. Sets the specified header to the specified value. A that contains the name of the header to set. A that contains the value of the header to set. is or . or contain invalid characters. -or- is a restricted header name. The length of is greater than 65535. The current instance does not allow the header . Converts the current to an array of . An array of that receives the converted current . Returns a that represents the current . A that represents the current . 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 version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="RootPath" value="./Public" /> </appSettings> </configuration> Initializes a new instance of the class that listens for incoming requests on port 80. Initializes a new instance of the class that listens for incoming requests on the specified . An that contains a port number. Occurs when the server receives an HTTP CONNECT request. Occurs when the server receives an HTTP DELETE request. Occurs when the server gets an error. Occurs when the server receives an HTTP GET request. Occurs when the server receives an HTTP HEAD request. Occurs when the server receives an HTTP OPTIONS request. Occurs when the server receives an HTTP PATCH request. Occurs when the server receives an HTTP POST request. Occurs when the server receives an HTTP PUT request. Occurs when the server receives an HTTP TRACE request. Gets the port on which to listen for incoming requests. An that contains a port number. Gets the collection of paths associated with the every WebSocket services that the server provides. An IEnumerable<string> that contains the collection of paths. Gets or sets a value indicating whether the server cleans up the inactive WebSocket service instances periodically. true if the server cleans up the inactive WebSocket service instances every 60 seconds; otherwise, false. The default value is true. Adds the specified type WebSocket service. A that contains an absolute path associated with the WebSocket service. The type of the WebSocket service. The T must inherit the class. Gets the contents of the specified file. An array of that contains the contents of the file. A that contains a virtual path to the file to get. Starts the . Shuts down the . Provides the HTTP version numbers. Initializes a new instance of the class. Provides a instance for HTTP 1.0. Provides a instance for HTTP 1.1. Contains the values of the HTTP status codes. The HttpStatusCode enumeration contains the values of the HTTP status codes defined in RFC 2616 for HTTP 1.1. Equivalent to status code 100. Indicates that the client should continue with its request. Equivalent to status code 101. Indicates that the server is switching the HTTP version or protocol on the connection. Equivalent to status code 200. Indicates that the client's request has succeeded. Equivalent to status code 201. Indicates that the client's request has been fulfilled and resulted in a new resource being created. Equivalent to status code 202. Indicates that the client's request has been accepted for processing, but the processing has not been completed. Equivalent to status code 203. Indicates that the returned metainformation is from a local or a third-party copy instead of the origin server. Equivalent to status code 204. Indicates that the server has fulfilled the client's request but does not need to return an entity-body. 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. Equivalent to status code 206. Indicates that the server has fulfilled the partial GET request for the resource. Equivalent to status code 300. Indicates that the requested resource corresponds to any one of multiple representations. MultipleChoices is a synonym for Ambiguous. Equivalent to status code 300. Indicates that the requested resource corresponds to any one of multiple representations. Ambiguous is a synonym for MultipleChoices. 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. 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. Equivalent to status code 302. Indicates that the requested resource is located temporarily under a different URI. Found is a synonym for Redirect. Equivalent to status code 302. Indicates that the requested resource is located temporarily under a different URI. Redirect is a synonym for Found. 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. 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. 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. Equivalent to status code 305. Indicates that the requested resource must be accessed through the proxy given by the Location field. 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. Equivalent to status code 307. Indicates that the requested resource is located temporarily under a different URI. TemporaryRedirect is a synonym for RedirectKeepVerb. Equivalent to status code 307. Indicates that the requested resource is located temporarily under a different URI. RedirectKeepVerb is a synonym for TemporaryRedirect. Equivalent to status code 400. Indicates that the client's request could not be understood by the server due to malformed syntax. Equivalent to status code 401. Indicates that the client's request requires user authentication. Equivalent to status code 402. This code is reserved for future use. Equivalent to status code 403. Indicates that the server understood the client's request but is refusing to fulfill it. Equivalent to status code 404. Indicates that the server has not found anything matching the request URI. 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. 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. Equivalent to status code 407. Indicates that the client must first authenticate itself with the proxy. Equivalent to status code 408. Indicates that the client did not produce a request within the time that the server was prepared to wait. Equivalent to status code 409. Indicates that the client's request could not be completed due to a conflict on the server. Equivalent to status code 410. Indicates that the requested resource is no longer available at the server and no forwarding address is known. Equivalent to status code 411. Indicates that the server refuses to accept the client's request without a defined Content-Length. 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. Equivalent to status code 413. Indicates that the client's request entity is larger than the server is willing or able to process. Equivalent to status code 414. Indicates that the request URI is longer than the server is willing to interpret. 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. 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. Equivalent to status code 417. Indicates that the expectation given in an Expect request header field could not be met by the server. Equivalent to status code 500. Indicates that the server encountered an unexpected condition which prevented it from fulfilling the client's request. Equivalent to status code 501. Indicates that the server does not support the functionality required to fulfill the client's request. Equivalent to status code 502. Indicates that a gateway or proxy server received an invalid response from the upstream server. 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. 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. Equivalent to status code 505. Indicates that the server does not support the HTTP version used in the client's request. Provides the basic functions of the server that receives the WebSocket connection requests. The WebSocketServerBase class is an abstract class. Initializes a new instance of the class. Initializes a new instance of the class that listens for incoming connection attempts on the specified WebSocket URL. A that contains a WebSocket URL. is . is invalid. Initializes a new instance of the class that listens for incoming connection attempts on the specified , , and . A that contains a local IP address. An that contains a port number. A that contains an absolute path. A that indicates providing a secure connection or not. (true indicates providing a secure connection.) Either or is . is invalid. -or- Pair of and is invalid. Occurs when the server gets an error. Gets or sets the WebSocket URL on which to listen for incoming connection attempts. A that contains a WebSocket URL. Gets the local IP address on which to listen for incoming connection attempts. A that contains a local IP address. Gets a value indicating whether the server provides secure connection. true if the server provides secure connection; otherwise, false. Gets a value indicating whether the server is self host. true if the server is self host; otherwise, false. Gets the port on which to listen for incoming connection attempts. An that contains a port number. Accepts a WebSocket connection request. A that contains the WebSocket connection request objects. Occurs the event with the specified . A that contains an error message. Starts to receive the WebSocket connection requests. Stops receiving the WebSocket connection requests. Exposes the methods and property for the host that provides a . Gets or sets a value indicating whether the WebSocket service host cleans up the inactive service clients periodically. true if the WebSocket service host cleans up the inactive service clients periodically; otherwise, false. Binds the specified to a instance. A that contains the WebSocket connection request objects to bind. Broadcasts the specified to all service clients. A to broadcast. Starts the WebSocket service host. Stops the WebSocket service host. Provides the functions of the server that receives the WebSocket connection requests. The WebSocketServiceHost<T> class provides the single WebSocket service. The type of the WebSocket service that the server provides. The T must inherit the class. Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts on the specified . An that contains a port number. Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts on the specified WebSocket URL. A that contains a WebSocket URL. Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts on the specified and . An that contains a port number. A that indicates providing a secure connection or not. (true indicates providing a secure connection.) Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts on the specified and . An that contains a port number. A that contains an absolute path. Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts on the specified , and . An that contains a port number. A that contains an absolute path. A that indicates providing a secure connection or not. (true indicates providing a secure connection.) Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts on the specified , and . A that contains a local IP address. An that contains a port number. A that contains an absolute path. Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts on the specified , , and . A that contains a local IP address. An that contains a port number. A that contains an absolute path. A that indicates providing a secure connection or not. (true indicates providing a secure connection.) Gets or sets a value indicating whether the server cleans up the inactive clients periodically. true if the server cleans up the inactive clients every 60 seconds; otherwise, false. The default value is true. Gets the WebSocket URL on which to listen for incoming connection attempts. A that contains a WebSocket URL. Binds the specified to a instance. A that contains the WebSocket connection request objects to bind. Accepts a WebSocket connection request. A that contains the WebSocket connection request objects. Broadcasts the specified to all clients. A to broadcast. Pings with the specified to all clients. 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. A that contains a message. Stops receiving the WebSocket connection requests. 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. Equivalent to close status 1000. Indicates a normal closure. Equivalent to close status 1001. Indicates that an endpoint is "going away". Equivalent to close status 1002. Indicates that an endpoint is terminating the connection due to a protocol error. Equivalent to close status 1003. Indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept. Equivalent to close status 1004. Still undefined. Reserved value. Equivalent to close status 1005. Indicates that no status code was actually present. Reserved value. Equivalent to close status 1006. Indicates that the connection was closed abnormally. Reserved value. 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. Equivalent to close status 1008. Indicates that an endpoint is terminating the connection because it has received a message that violates its policy. 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. 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. 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. Equivalent to close status 1015. Indicates that the connection was closed due to a failure to perform a TLS handshake. Reserved value. Contains the values of the opcodes that denotes the frame type of the WebSocket frame. The Opcode enumeration contains the values of the opcodes defined in RFC 6455 for the WebSocket protocol. Equivalent to numeric value 0. Indicates a continuation frame. Equivalent to numeric value 1. Indicates a text frame. Equivalent to numeric value 2. Indicates a binary frame. Equivalent to numeric value 8. Indicates a connection close frame. Equivalent to numeric value 9. Indicates a ping frame. Equivalent to numeric value 10. Indicates a pong frame. Provides access to the WebSocket connection request objects received by the class. Gets the cookies used in the WebSocket opening handshake. A that contains the cookies. Gets the HTTP headers used in the WebSocket opening handshake. A that contains the HTTP headers. Gets a value indicating whether the client is authenticated. true if the client is authenticated; otherwise, false. Gets a value indicating whether the client connected from the local computer. true if the client connected from the local computer; otherwise, false. Gets a value indicating whether the WebSocket connection is secured. true if the WebSocket connection is secured; otherwise, false. Gets a value indicating whether the WebSocket connection request is valid. true if the WebSocket connection request is valid; otherwise, false. Gets the value of the Origin header field used in the WebSocket opening handshake. A that contains the value of the Origin header field. Gets the absolute path of the requested WebSocket URI. A that contains the absolute path of the requested WebSocket URI. Gets the collection of query string variables used in the WebSocket opening handshake. A that contains the collection of query string variables. Gets the WebSocket URI requested by the client. A that contains the WebSocket URI. Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. The SecWebSocketKey property provides a part of the information used by the server to prove that it received a valid WebSocket opening handshake. A that contains the value of the Sec-WebSocket-Key header field. Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. The SecWebSocketProtocols property indicates the subprotocols of the WebSocket connection. An IEnumerable<string> that contains the values of the Sec-WebSocket-Protocol header field. Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. The SecWebSocketVersion property indicates the WebSocket protocol version of the connection. A that contains the value of the Sec-WebSocket-Version header field. Gets the server endpoint as an IP address and a port number. A that contains the server endpoint. Gets the client information (identity, authentication information and security roles). A that contains the client information. Gets the client endpoint as an IP address and a port number. A that contains the client endpoint. Gets the WebSocket instance used for two-way communication between client and server. A . Provides access to the WebSocket connection request objects received by the class. Gets the cookies used in the WebSocket opening handshake. A that contains the cookies. Gets the HTTP headers used in the WebSocket opening handshake. A that contains the HTTP headers. Gets a value indicating whether the client is authenticated. true if the client is authenticated; otherwise, false. This property is not implemented. Gets a value indicating whether the client connected from the local computer. true if the client connected from the local computer; otherwise, false. Gets a value indicating whether the WebSocket connection is secured. true if the WebSocket connection is secured; otherwise, false. Gets a value indicating whether the WebSocket connection request is valid. true if the WebSocket connection request is valid; otherwise, false. Gets the value of the Origin header field used in the WebSocket opening handshake. A that contains the value of the Origin header field. Gets the absolute path of the requested WebSocket URI. A that contains the absolute path of the requested WebSocket URI. Gets the collection of query string variables used in the WebSocket opening handshake. A that contains the collection of query string variables. Gets the WebSocket URI requested by the client. A that contains the WebSocket URI. Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. The SecWebSocketKey property provides a part of the information used by the server to prove that it received a valid WebSocket opening handshake. A that contains the value of the Sec-WebSocket-Key header field. Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. The SecWebSocketProtocols property indicates the subprotocols of the WebSocket connection. An IEnumerable<string> that contains the values of the Sec-WebSocket-Protocol header field. Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. The SecWebSocketVersion property indicates the WebSocket protocol version of the connection. A that contains the value of the Sec-WebSocket-Version header field. Gets the server endpoint as an IP address and a port number. A that contains the server endpoint. Gets the client information (identity, authentication information and security roles). A that contains the client information. This property is not implemented. Gets the client endpoint as an IP address and a port number. A that contains the client endpoint. Gets the WebSocket instance used for two-way communication between client and server. A . Provides access to the WebSocket connection request objects. The WebSocketContext class is an abstract class. Initializes a new instance of the class. Gets the cookies used in the WebSocket opening handshake. A that contains the cookies. Gets the HTTP headers used in the WebSocket opening handshake. A that contains the HTTP headers. Gets a value indicating whether the client is authenticated. true if the client is authenticated; otherwise, false. Gets a value indicating whether the client connected from the local computer. true if the client connected from the local computer; otherwise, false. Gets a value indicating whether the WebSocket connection is secured. true if the WebSocket connection is secured; otherwise, false. Gets a value indicating whether the WebSocket connection request is valid. true if the WebSocket connection request is valid; otherwise, false. Gets the value of the Origin header field used in the WebSocket opening handshake. A that contains the value of the Origin header field. Gets the absolute path of the requested WebSocket URI. A that contains the absolute path of the requested WebSocket URI. Gets the collection of query string variables used in the WebSocket opening handshake. A that contains the collection of query string variables. Gets the WebSocket URI requested by the client. A that contains the WebSocket URI. Gets the value of the Sec-WebSocket-Key header field used in the WebSocket opening handshake. The SecWebSocketKey property provides a part of the information used by the server to prove that it received a valid WebSocket opening handshake. A that contains the value of the Sec-WebSocket-Key header field. Gets the values of the Sec-WebSocket-Protocol header field used in the WebSocket opening handshake. The SecWebSocketProtocols property indicates the subprotocols of the WebSocket connection. An IEnumerable<string> that contains the values of the Sec-WebSocket-Protocol header field. Gets the value of the Sec-WebSocket-Version header field used in the WebSocket opening handshake. The SecWebSocketVersion property indicates the WebSocket protocol version of the connection. A that contains the value of the Sec-WebSocket-Version header field. Gets the client information (identity, authentication information and security roles). A that contains the client information. Gets the WebSocket instance used for two-way communication between client and server. A . Manages the collection of objects. Gets the collection of IDs of active objects managed by the . An IEnumerable<string> that contains the collection of IDs of active objects. Gets the number of objects managed by the . An that contains the number of objects managed by the . Gets the collection of IDs of inactive objects managed by the . An IEnumerable<string> that contains the collection of IDs of inactive objects. Gets the collection of IDs of objects managed by the . An IEnumerable<string> that contains the collection of IDs of objects. Gets a value indicating whether the cleans up the inactive objects periodically. true if the cleans up the inactive objects every 60 seconds; otherwise, false. Broadcasts the specified array of to the clients of every managed by the . An array of to broadcast. Broadcasts the specified to the clients of every managed by the . A to broadcast. Pings with the specified to the clients of every managed by the . A Dictionary<string, bool> that contains the collection of IDs and values indicating whether each received a Pong in a time. A that contains a message. Cleans up the inactive objects. Tries to get the associated with the specified . true if the manages the with the specified ; otherwise, false. A that contains the ID to find. When this method returns, contains the with the specified , if the is found; otherwise, . Contains the event data associated with the HTTP request events of the class. An HTTP request event occurs when a instance receives an HTTP request. If you want to get the HTTP request objects, you should access the property. If you want to get the HTTP response objects to send, you should access the property. Gets the HTTP request objects sent from a client. A that contains the HTTP request objects. Gets the HTTP response objects to send to the client in response to the client's request. A that contains the HTTP response objects. Contains the values of the compression methods used to compress the payload data of the WebSocket Data frame. The CompressionMethod enumeration contains the values of the compression methods defined in Compression Extensions for WebSocket. Indicates non compression. Indicates using DEFLATE. Represents the exception that occurred when attempting to perform an operation on the WebSocket connection. Gets the associated with a . One of the values that indicates the cause of the exception.