Last post Jan 21, 2010 10:58 PM by Darrel Miller
Jan 21, 2010 10:58 PM|Darrel Miller|LINK
HttpStage has the following methods that can be overridden to create a response:
protected internal abstract void ProcessRequestAndTryGetResponse(HttpRequestMessage request, out HttpResponseMessage response, out object state);
protected internal abstract void ProcessResponse(HttpResponseMessage response, object state);
As you can see they are internal so I cannot create a class that overrides those methods.
I can create a class that overrides HttpProcessingStage, but as far I can tell, there is no way to actually create the response with that class.
I am trying to approximately duplicate what is done in Microsoft.Http.Tests.HttpServiceBase but that assembly can see the internals of Microsoft.Http.