Dela via


ApiController.Request Property

Definition

Gets or sets the HTTP request message.

public System.Net.Http.HttpRequestMessage Request { get; set; }
member this.Request : System.Net.Http.HttpRequestMessage with get, set
Public Property Request As HttpRequestMessage

Property Value

The HttpRequestMessage of the current ApiController.

Remarks

The setter is intended for unit testing purposes only.

Applies to