Click or drag to resize

ExtGetDescription Method

Gets the description of the specified HTTP status code.

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static string GetDescription(
	this HttpStatusCode code
)

Parameters

code
Type: Sfs2X.WebSocketSharp.NetHttpStatusCode
One of HttpStatusCode enum values, indicates the HTTP status code.

Return Value

Type: String
A String that represents the description of the HTTP status code.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HttpStatusCode. 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).
See Also