// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.IO; using System.Net.Http.Headers; namespace System.Net.Http { /// /// An implementation examines the headers provided by the MIME multipart parser /// as part of the MIME multipart extension methods (see ) and decides /// what kind of stream to return for the body part to be written to. /// public interface IMultipartStreamProvider { /// /// When a MIME multipart body part has been parsed this method is called to get a stream for where to write the body part to. /// /// Header fields describing the body part. /// The instance where the message body part is written to. Stream GetStream(HttpContentHeaders headers); } }