C-DEngine 5.105

Ext..::..WriteContent Method

Writes and sends the specified content data with the specified HttpListenerResponse.

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

Syntax


public static void WriteContent(
	HttpListenerResponse response,
	byte[] content
)
Public Shared Sub WriteContent ( _
	response As HttpListenerResponse, _
	content As Byte() _
)
public:
static void WriteContent(
	HttpListenerResponse^ response, 
	array<unsigned char^>^ content
)

Parameters

response
Type: WebSocketSharp.Net..::..HttpListenerResponse
A HttpListenerResponse that represents the HTTP response used to send the content data.
content
Type: array<Byte>[]()[][]
An array of Byte that represents the content data to send.

Exceptions


ExceptionCondition
ArgumentNullException

response is nullNothingnullptra null reference (Nothing in Visual Basic).

-or-

content is nullNothingnullptra null reference (Nothing in Visual Basic).