SmartFoxServer 2X C# API (Unity/.Net/Mono/UWP)
SmartFoxServer 2X C# API (Unity/.Net/Mono/UWP)
Sfs2X.WebSocketSharp
Ext Class
Ext Methods
Emit Method
GetDescription Method
GetStatusDescription Method
IsCloseStatusCode Method
IsEnclosedIn Method
IsHostOrder Method
IsLocal Method
IsNullOrEmpty Method
IsPredefinedScheme Method
MaybeUri Method
SubArray Method
Times Method
To(T) Method
ToByteArray(T) Method
ToHostOrder Method
ToString(T) Method
ToUri Method
UrlDecode Method
UrlEncode Method
WriteContent Method
Ext
GetDescription 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#
Copy
public
static
string
GetDescription
(
this
HttpStatusCode
code
)
Parameters
code
Type:
Sfs2X.WebSocketSharp.Net
HttpStatusCode
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
Reference
Ext Class
Sfs2X.WebSocketSharp Namespace
Copyright gotoAndPlay() 2023