HttpRequest.Path Property

Definition

Gets or sets the portion of the request path that identifies the requested resource.

The value may be Empty if PathBase contains the full path, or for 'OPTIONS *' requests. The path is fully decoded by the server except for '%2F', which would decode to '/' and change the meaning of the path segments. '%2F' can only be replaced after splitting the path into segments.

public:
 abstract property Microsoft::AspNetCore::Http::PathString Path { Microsoft::AspNetCore::Http::PathString get(); void set(Microsoft::AspNetCore::Http::PathString value); };
public abstract Microsoft.AspNetCore.Http.PathString Path { get; set; }
member this.Path : Microsoft.AspNetCore.Http.PathString with get, set
Public MustOverride Property Path As PathString

Property Value

The request path from RequestPath.

Applies to