예제 #1
0
        public string post_header_values(HeaderInput input)
        {
            if (input.Value1.IsNotEmpty())
            {
                _writer.AppendHeader(input.Key, input.Value1);
            }

            if (input.Value2.IsNotEmpty())
            {
                _writer.AppendHeader(input.Key, input.Value2);
            }

            return "it's all good";
        }
예제 #2
0
        public string post_header_values(HeaderInput input)
        {
            if (input.Value1.IsNotEmpty())
            {
                _writer.AppendHeader(input.Key, input.Value1);
            }

            if (input.Value2.IsNotEmpty())
            {
                _writer.AppendHeader(input.Key, input.Value2);
            }

            return("it's all good");
        }