HttpListenerResponseClose Method (Byte, Boolean) |
Returns the response with the specified array of
Byte to the client and
releases the resources used by this
HttpListenerResponse instance.
Namespace:
Sfs2X.WebSocketSharp.Net
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public void Close(
byte[] responseEntity,
bool willBlock
)
Parameters
- responseEntity
- Type: SystemByte
An array of Byte that contains the response entity body data.
- willBlock
- Type: SystemBoolean
true if this method blocks execution while flushing the stream to the client;
otherwise, false.
Exceptions Exception | Condition |
---|
ArgumentNullException | responseEntity is .
|
ObjectDisposedException |
This object is closed.
|
See Also