Exemple #1
0
        public SendExpression Text(string text)
        {
            Body.TextIs(text);
            Context.Request.ContentType = "text/plain";

            return(new SendExpression(Context));
        }
Exemple #2
0
        public SendExpression Text(string text)
        {
            Body.TextIs(text);
            Context.Request.ContentType   = MimeType.Text.Value;
            Context.Request.ContentLength = text.Length;

            return(new SendExpression(Context));
        }