public static Stream CreateBody(this FormDataSet formDataSet, String enctype, String charset)
        {
            var encoding = TextEncoding.Resolve(charset);

            return(formDataSet.CreateBody(enctype, encoding));
        }
예제 #2
0
        public static Stream CreateBody(this FormDataSet formDataSet, String enctype, String?charset, IHtmlEncoder?htmlEncoder)
        {
            var encoding = TextEncoding.Resolve(charset);

            return(formDataSet.CreateBody(enctype, encoding, htmlEncoder ?? new DefaultHtmlEncoder()));
        }