Click or drag to resize

ExtWriteContent Method

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

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static void WriteContent(
	this HttpListenerResponse response,
	byte[] content
)

Parameters

response
Type: Sfs2X.WebSocketSharp.NetHttpListenerResponse
A HttpListenerResponse that represents the HTTP response used to send the content data.
content
Type: SystemByte
An array of Byte that represents the content data to send.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HttpListenerResponse. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullException

response is .

-or-

content is .

See Also