Constructor HttpStatusInformation
HttpStatusInformation()
Creates an new HttpStatusInformation with default parameters (200 OK) status.
public HttpStatusInformation()
HttpStatusInformation(int)
Creates an new HttpStatusInformation instance with given parameters.
public HttpStatusInformation(int statusCode)
Parameters
statusCodeintSets the numeric HTTP status code of the HTTP message.
HttpStatusInformation(HttpStatusCode)
Creates an new HttpStatusInformation instance with given parameters.
public HttpStatusInformation(HttpStatusCode statusCode)
Parameters
statusCodeHttpStatusCodeSets the numeric HTTP status code of the HTTP message.
HttpStatusInformation(int, string)
Creates an new HttpStatusInformation instance with given parameters.
public HttpStatusInformation(int statusCode, string description)
Parameters
statusCodeintSets the numeric HTTP status code of the HTTP message.
descriptionstringSets the short description of the HTTP message.
Remarks
Custom status descriptions is only supported for plain HTTP/1.1 and 1.0 transfers.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語