Ext..::..WriteContent Method
Writes and sends the specified content data with the specified
HttpListenerResponse.
Namespace:
WebSocketSharpAssembly: 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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | response is nullNothingnullptra null reference (Nothing in Visual Basic). -or- content is nullNothingnullptra null reference (Nothing in Visual Basic). |