HttpMultipartParser.MultipartFormDataParser.MultipartFormDataParser C# (CSharp) Method

MultipartFormDataParser() public method

Initializes a new instance of the MultipartFormDataParser class with the boundary, input stream and stream encoding.
public MultipartFormDataParser ( Stream stream, string boundary, Encoding encoding ) : System.Collections.Generic
stream System.IO.Stream /// The stream containing the multipart data ///
boundary string /// The multipart/form-data boundary. This should be the value /// returned by the request header. ///
encoding System.Text.Encoding /// The encoding of the multipart data ///
return System.Collections.Generic
        public MultipartFormDataParser(Stream stream, string boundary, Encoding encoding)
            : this(stream, boundary, encoding, DefaultBufferSize)
        {
            // 4096 is the optimal buffer size as it matches the internal buffer of a StreamReader
            // See: http://stackoverflow.com/a/129318/203133
            // See: http://msdn.microsoft.com/en-us/library/9kstw824.aspx (under remarks)
        }

Same methods

MultipartFormDataParser::MultipartFormDataParser ( Stream stream ) : System.Collections.Generic
MultipartFormDataParser::MultipartFormDataParser ( Stream stream, Encoding encoding ) : System.Collections.Generic
MultipartFormDataParser::MultipartFormDataParser ( Stream stream, Encoding encoding, int binaryBufferSize ) : System.Collections.Generic
MultipartFormDataParser::MultipartFormDataParser ( Stream stream, string boundary ) : System.Collections.Generic
MultipartFormDataParser::MultipartFormDataParser ( Stream stream, string boundary, Encoding encoding, int binaryBufferSize ) : System.Collections.Generic