Beispiel #1
0
        public HttpResponseMessage Get()
        {
            var writer = new WadlXmlWriter();
            HttpResponseMessage response = Request.CreateResponse();
            response.Content = new StringContent(writer.Write(Configuration), UTF8Encoding.Unicode, "text/xml");

            return response;
        }
Beispiel #2
0
        public HttpResponseMessage Get()
        {
            var writer = new WadlXmlWriter();
            HttpResponseMessage response = Request.CreateResponse();

            response.Content = new StringContent(writer.Write(Configuration), UTF8Encoding.Unicode, "text/xml");

            return(response);
        }