Sisk

Method

HttpStatusInformation.GetStatusCodeDescription

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

GetStatusCodeDescription(int) #

Gets the description of the specified HTTP status code.

C#
public static string GetStatusCodeDescription(int statusCode)

Parameters #

statusCode int

The HTTP status code.

Returns #

string

The description of the HTTP status code.

GetStatusCodeDescription(HttpStatusCode) #

Gets the description of the specified HTTP status code.

C#
public static string GetStatusCodeDescription(HttpStatusCode statusCode)

Parameters #

statusCode HttpStatusCode

The HttpStatusCode value.

Returns #

string

The description of the HTTP status code.

Type to search the documentation and the API reference.