Table of Contents

Method SetStatus

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

SetStatus(int)

Sets the HTTP status code for this response stream.

public void SetStatus(int httpStatusCode)

Parameters

httpStatusCode int

The HTTP status code.

SetStatus(HttpStatusCode)

Sets the HTTP status code for this response stream.

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.

public void SetStatus(HttpStatusInformation statusCode)

Parameters

statusCode HttpStatusInformation

The custom HTTP status code information.