Table of Contents

Method GetStatusCodeDescription

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

GetStatusCodeDescription(int)

Gets the description of the HTTP status based on its description.

public static string GetStatusCodeDescription(int statusCode)

Parameters

statusCode int

The HTTP status code.

Returns

string

GetStatusCodeDescription(HttpStatusCode)

Gets the description of the HTTP status based on its description.

public static string GetStatusCodeDescription(HttpStatusCode statusCode)

Parameters

statusCode HttpStatusCode

The HTTP status code.

Returns

string