// Modify response
 private async Task MultipartRequestPartSent(object sender, MultipartRequestPartSentEventArgs e)
 {
     //var session = (SessionEventArgs)sender;
     //await WriteToConsole("Multipart form data headers:");
     //foreach (var header in e.Headers)
     //{
     //    await WriteToConsole(header.ToString());
     //}
 }
        //Modify response
        private void MultipartRequestPartSent(object sender, MultipartRequestPartSentEventArgs e)
        {
            var session = (SessionEventArgs)sender;

            Console.WriteLine("Multipart form data headers:");
            foreach (var header in e.Headers)
            {
                Console.WriteLine(header);
            }
        }
Example #3
0
        // Modify response
        private void MultipartRequestPartSent(object sender, MultipartRequestPartSentEventArgs e)
        {
            var session = (SessionEventArgs)sender;

            WriteToConsole("Multipart form data headers:");
            foreach (var header in e.Headers)
            {
                WriteToConsole(header.ToString());
            }
        }
Example #4
0
        // Modify response
        private async Task multipartRequestPartSent(object sender, MultipartRequestPartSentEventArgs e)
        {
            e.GetState().PipelineInfo.AppendLine(nameof(multipartRequestPartSent));

            var session = (SessionEventArgs)sender;

            writeToConsole("Multipart form data headers:");
            foreach (var header in e.Headers)
            {
                writeToConsole(header.ToString());
            }
        }
 private void MultipartRequestPartSent(object sender, MultipartRequestPartSentEventArgs e)
 {
 }