Example #1
0
        public override void Process(HttpMessage message, ReadOnlyMemory <HttpPipelinePolicy> pipeline)
        {
            Debug.Assert(pipeline.IsEmpty);

            _transport.Process(message);

            message.Response.Sanitizer = _sanitizer;
            message.Response.IsError   = message.ResponseClassifier.IsErrorResponse(message);
        }
Example #2
0
        public override void Process(HttpPipelineMessage message, ReadOnlyMemory <HttpPipelinePolicy> pipeline)
        {
            Debug.Assert(pipeline.IsEmpty);

            _transport.Process(message);
        }