HttpRequestMessageExtensions.GetUrlHelper Method (HttpRequestMessage)

 

Gets a UrlHelper instance for an HTTP request.

Namespace:   System.Net.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

public static UrlHelper GetUrlHelper(
	this HttpRequestMessage request
)

Parameters

request
Type: System.Net.Http.HttpRequestMessage

The HTTP request.

Return Value

Type: System.Web.Http.Routing.UrlHelper

A UrlHelper instance that is initialized for the specified HTTP request.

Return to top
Show: