コード例 #1
0
        private HttpFormSendContent MakeDictContent(HttpDictionaryContent dictionaryContent)
        {
            var dict = Mix(dictionaryContent.Content);
            var url  = FormatUrl(dictionaryContent.Content);

            return(new HttpFormSendContent
            {
                Content = dict,
                Url = url
            });
        }
コード例 #2
0
        private HttpRawBodyContent MakeRawContent(HttpDictionaryContent dictionaryContent)
        {
            var dict       = Mix(dictionaryContent.Content);
            var rawContent = ValMatch.Replace(RawContentTemplate, s => dict[s.Groups[1].Value]);
            var url        = FormatUrl(dictionaryContent.Content);

            return(new HttpRawBodyContent
            {
                Content = rawContent,
                Url = url
            });
        }