Permalink
Browse files

Add request property to get the underlying HttpListenerRequest object

  • Loading branch information...
mythz
mythz committed Sep 1, 2011
1 parent 44da80e commit 2cc4ea45db41eefa8ab37b73dd2544da0bbf66e0
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/ServiceStack/WebHost.EndPoints/Extensions/HttpListenerRequestWrapper.cs
@@ -55,7 +55,12 @@ static HttpListenerRequestWrapper()
{
physicalFilePath = "~".MapAbsolutePath();
}
-
+
+ public HttpListenerRequest Request
+ {
+ get { return request; }
+ }
+
private readonly HttpListenerRequest request;
public HttpListenerRequestWrapper(string operationName, HttpListenerRequest request)

2 comments on commit 2cc4ea4

@nigthwatch

This comment has been minimized.

Show comment
Hide comment
@nigthwatch

nigthwatch Sep 12, 2011

Why are you breaking your own abstraction?

Why are you breaking your own abstraction?

@mythz

This comment has been minimized.

Show comment
Hide comment
@mythz

mythz Sep 12, 2011

Member
Member

mythz replied Sep 12, 2011

Please sign in to comment.