2 writes to _statusCode
System.Net.HttpListener (2)
System\Net\Managed\HttpListenerResponse.Managed.cs (2)
84
_statusCode
= value;
156
_statusCode
= templateResponse._statusCode;
10 references to _statusCode
System.Net.HttpListener (10)
System\Net\Managed\HttpListenerResponse.Managed.cs (10)
76
get =>
_statusCode
;
156
_statusCode = templateResponse.
_statusCode
;
220
bool conn_close = (
_statusCode
== (int)HttpStatusCode.BadRequest ||
_statusCode
== (int)HttpStatusCode.RequestTimeout
221
||
_statusCode
== (int)HttpStatusCode.LengthRequired ||
_statusCode
== (int)HttpStatusCode.RequestEntityTooLarge
222
||
_statusCode
== (int)HttpStatusCode.RequestUriTooLong ||
_statusCode
== (int)HttpStatusCode.InternalServerError
223
||
_statusCode
== (int)HttpStatusCode.ServiceUnavailable);
271
writer.Write("HTTP/1.1 {0} ",
_statusCode
); // "1.1" matches Windows implementation, which ignores the response version