Sisk

Method

DefaultMessagePage.CreateMessageHtml

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

CreateMessageHtml(string, string) #

Creates an static default page with given header and description.

C#
public string CreateMessageHtml(string firstHeader, string description)

Parameters #

firstHeader string

The static page header text.

description string

The static page description text.

Returns #

string

CreateMessageHtml(in HttpStatusInformation, string) #

Creates an static default page with given status code and description.

C#
public HttpResponse CreateMessageHtml(in HttpStatusInformation status, string longDescription)

Parameters #

status HttpStatusInformation

The static page status code.

longDescription string

The static page description text.

Returns #

HttpResponse

Type to search the documentation and the API reference.