Table of Contents

Method GetStatusCodeDescription

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

GetStatusCodeDescription(int)

Gets the description of the specified HTTP status code.

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.

public static string GetStatusCodeDescription(HttpStatusCode statusCode)

Parameters

statusCode HttpStatusCode

The HttpStatusCode value.

Returns

string

The description of the HTTP status code.