Class HttpRequestMessageExtensions

Extends the HttpRequestMessage collection

System.Object
  System.Web.Http.HttpRequestMessageExtensions
public static class HttpRequestMessageExtensions : object

Class Members

MemberDescription

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.Http
Assembly: westwind.web.webapi.dll

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic