Has anyone had success getting servicestack to work with HttpRequestMessage and HttpResponseMessage?
What is the minimum implementation of IHttpRequest and IHttpResponse that servicestack needs in order to properly handle an http request?
Has anyone had success getting servicestack to work with HttpRequestMessage and HttpResponseMessage?
What is the minimum implementation of IHttpRequest and IHttpResponse that servicestack needs in order to properly handle an http request?
IHttpRequest and IHttpResponse are just normalized lightweight interface wrappers around ASP.NET and HttpListener's server HTTP Request/Response objects. It's purpose is to provide a generic, testable API you can bind against so your services can work in both ASP.NET and HttpListener hosts. They have no connection with HttpRequestMessage / HttpResponseMessage.
Not sure what you're trying to achieve, but you can return a IHttpResult or its de-facto implementation HttpResult to customize the HTTP Headers and body output of your services response.