Extends the HttpRequestMessage collection
System.Web.Http.HttpRequestMessageExtensions
public static class HttpRequestMessageExtensions : object
Class Members
Member | Description | |
---|---|---|
GetCookie |
Retrieves an individual cookie from the cookies collection public static string GetCookie(HttpRequestMessage request, string cookieName) |
|
GetHeader |
Returns an individual HTTP Header value public static string GetHeader(HttpRequestMessage request, string key) |
|
GetQueryString |
Returns an individual querystring value public static string GetQueryString(HttpRequestMessage request, string key) |
|
GetQueryStrings |
Returns a dictionary of QueryStrings that's easier to work with than GetQueryNameValuePairs KevValuePairs collection. public static Dictionary<String,String> GetQueryStrings(HttpRequestMessage request) |
Requirements
Namespace: System.Web.HttpAssembly: westwind.web.webapi.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic