Beispiel #1
0
        public override async Task ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory <HttpPipelinePolicy> pipeline)
        {
            _logged.Append($"REQUEST: {message.ToString()}\n");
            await ProcessNextAsync(pipeline, message).ConfigureAwait(false);

            _logged.Append($"RESPONSE: {message.Response.Status}\n");
        }
Beispiel #2
0
 public override void OnSendingRequest(HttpPipelineMessage message)
 {
     Console.WriteLine(message.ToString());
 }
Beispiel #3
0
 public override async Task ProcessAsync(HttpPipelineMessage message, ReadOnlyMemory <HttpPipelinePolicy> pipeline)
 {
     Console.WriteLine(message.ToString());
     await ProcessNextAsync(pipeline, message).ConfigureAwait(false);
 }