Permalink
Browse files

Added QueryString to hub context.

  • Loading branch information...
1 parent 076f4ca commit ef6baff6fa322a8c0e65220e8810e957e5f61e9c @davidfowl davidfowl committed Feb 5, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 SignalR/Hubs/HubContext.cs
View
6 SignalR/Hubs/HubContext.cs
@@ -21,13 +21,19 @@ public class HubContext
/// </summary>
public NameValueCollection Headers { get; private set; }
+ /// <summary>
+ /// Gets the querystring for the request
+ /// </summary>
+ public NameValueCollection QueryString { get; private set; }
+
public IPrincipal User { get; private set; }
public HubContext(HostContext context, string connectionId)
{
ConnectionId = connectionId;
Cookies = context.Request.Cookies;
Headers = context.Request.Headers;
+ QueryString = context.Request.QueryString;
User = context.User;
}
}

0 comments on commit ef6baff

Please sign in to comment.