IHttpRequestFeature.RawTarget 屬性

定義

取得或設定在 HTTP 要求中傳送的要求目標。

此屬性包含原始路徑和完整查詢,以及其他要求目標,例如 *,適用于選項要求 (https://tools.ietf.org/html/rfc7230#section-5.3) 。

public:
 property System::String ^ RawTarget { System::String ^ get(); void set(System::String ^ value); };
public string RawTarget { get; set; }
member this.RawTarget : string with get, set
Public Property RawTarget As String

屬性值

備註

此屬性不會在內部用於路由或授權決策。 它尚未經過 UrlDecoded,而且應該謹慎使用。

適用於