C-DEngine 5.105

HttpListenerResponse..::..Close Method (array<Byte>[]()[][], Boolean)

Returns the response with the specified array of Byte to the client and releases the resources used by this HttpListenerResponse instance.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void Close(
	byte[] responseEntity,
	bool willBlock
)
Public Sub Close ( _
	responseEntity As Byte(), _
	willBlock As Boolean _
)
public:
void Close(
	array<unsigned char^>^ responseEntity, 
	bool^ willBlock
)

Parameters

responseEntity
Type: array<Byte>[]()[][]
An array of Byte that contains the response entity body data.
willBlock
Type: Boolean
true if this method blocks execution while flushing the stream to the client; otherwise, false.

Exceptions


ExceptionCondition
ArgumentNullExceptionresponseEntity is nullNothingnullptra null reference (Nothing in Visual Basic).
ObjectDisposedException This object is closed.