6 references to SendError
System.Net.HttpListener (6)
System\Net\Managed\ChunkedInputStream.cs (2)
126
_context.Connection.
SendError
(e.Message, 400);
188
_context.Connection.
SendError
(e.Message, 400);
System\Net\Managed\HttpConnection.cs (2)
358
SendError
(HttpStatusDescription.Get(NotFoundErrorCode), NotFoundErrorCode);
535
SendError
(_context.ErrorMessage, _context.ErrorStatus);
System\Net\Managed\HttpListenerRequest.Managed.cs (2)
186
_context.Connection.
SendError
(null, 501);
196
_context.Connection.
SendError
(null, 411);