コード例 #1
0
 public object Get(PlainTextRequest request)
 {
     var response = new HttpResult("Hello, World!", "text/plain");
     return response;
 }
コード例 #2
0
        public object Get(PlainTextRequest request)
        {
            var response = new HttpResult("Hello, World!", "text/plain");

            return(response);
        }
コード例 #3
0
 public byte[] Get(PlainTextRequest _)
 {
     Response.SetContentLength(payload.Length);
     Response.ContentType = "text/plain";
     return(payload);
 }