1 write to _context
System.Net.HttpListener (1)
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
72
_context
= context;
24 references to _context
System.Net.HttpListener (24)
System\Net\Managed\HttpListenerRequest.Managed.cs (24)
82
_context
.ErrorMessage = "Invalid request line (parts).";
89
_context
.ErrorMessage = "(Invalid verb)";
98
_context
.ErrorMessage = "Invalid request line (version).";
108
_context
.ErrorMessage = "Invalid request line (version).";
114
_context
.ErrorMessage = "Invalid request line (version).";
119
_context
.ErrorStatus = (int)HttpStatusCode.HttpVersionNotSupported;
120
_context
.ErrorMessage = HttpStatusDescription.Get(HttpStatusCode.HttpVersionNotSupported);
146
_context
.ErrorMessage = "Invalid host name";
172
_context
.ErrorMessage = WebUtility.HtmlEncode("Invalid url: " + base_uri + path);
186
_context
.Connection.SendError(null, 501);
196
_context
.Connection.SendError(null, 411);
203
HttpResponseStream output =
_context
.Connection.GetResponseStream();
213
_context
.ErrorMessage = HttpStatusDescription.Get(400);
214
_context
.ErrorStatus = 400;
232
_context
.ErrorMessage = "Invalid Content-Length.";
244
_context
.ErrorStatus = (int)HttpStatusCode.NotImplemented;
245
_context
.ErrorMessage = HttpStatusDescription.Get(HttpStatusCode.NotImplemented);
249
if (
_context
.ErrorMessage == null)
288
private X509Certificate2? GetClientCertificateCore() => ClientCertificate =
_context
.Connection.ClientCertificate;
292
HttpConnection cnc =
_context
.Connection;
325
_inputStream =
_context
.Connection.GetRequestStream(_isChunked, _contentLength);
336
public bool IsSecureConnection =>
_context
.Connection.IsSecure;
338
public IPEndPoint? LocalEndPoint =>
_context
.Connection.LocalEndPoint;
340
public IPEndPoint? RemoteEndPoint =>
_context
.Connection.RemoteEndPoint;