Click or drag to resize

HttpListenerResponseAppendHeader Method

Appends a value to the specified HTTP header sent with the response.

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public void AppendHeader(
	string name,
	string value
)

Parameters

name
Type: SystemString
A String that represents the name of the header to append value to.
value
Type: SystemString
A String that represents the value to append to the header.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is or empty.
ArgumentException

name or value contains invalid characters.

-or-

name is a restricted header name.

ArgumentOutOfRangeException The length of value is greater than 65,535 characters.
InvalidOperationException The current headers cannot allow the header to append a value.
See Also