AspNetCoreRequestExpressionModel Structure |
Namespace: PostSharp.Patterns.Diagnostics.Adapters.AspNetCore
Assembly: PostSharp.Patterns.Diagnostics.Adapters.AspNetCore (in PostSharp.Patterns.Diagnostics.Adapters.AspNetCore.dll) Version: 6.9.1.0 (6.9.1.0)
public readonly struct AspNetCoreRequestExpressionModel : IFormattable
The AspNetCoreRequestExpressionModel type exposes the following members.
Name | Description | |
---|---|---|
Context |
Gets the full HttpContext object.
| |
Method |
Gets the HTTP method (such as GET).
| |
Path |
Gets the path of the URL, starting with a /.
| |
Protocol |
Gets the request protocol (such HTTP/1.1).
| |
QueryString |
Gets the query string starting with a ?, or null.
| |
RemoteIpAddress |
Gets the IP address of the remote client.
| |
Scheme |
Gets the request scheme, for instance http or https.
| |
User |
Gets the name of the current authenticated user, or null.
|
Name | Description | |
---|---|---|
GetHeader |
Gets a specified header, or null.
|