Sisk

Method

HttpResponseStreamManager.SetStatus

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

SetStatus(int) #

Sets the HTTP status code for this response stream.

C#
public void SetStatus(int httpStatusCode)

Parameters #

httpStatusCode int

The HTTP status code.

SetStatus(HttpStatusCode) #

Sets the HTTP status code for this response stream.

C#
public void SetStatus(HttpStatusCode statusCode)

Parameters #

statusCode HttpStatusCode

The HTTP status code.

SetStatus(HttpStatusInformation) #

Sets the HTTP status code and description for this response stream.

C#
public void SetStatus(HttpStatusInformation statusCode)

Parameters #

statusCode HttpStatusInformation

The custom HTTP status code information.

Type to search the documentation and the API reference.