public interface IContextWrapperReference documentation and code samples for the Google.Cloud.Diagnostics.Common interface IContextWrapper.
Wraps an HTTP context.
Namespace
Google.Cloud.Diagnostics.CommonAssembly
Google.Cloud.Diagnostics.Common.dll
Methods
GetHttpMethod()
string GetHttpMethod()Gets the HTTP method. GET, POST, etc. Can be null.
| Returns | |
|---|---|
| Type | Description |
string |
|
GetUri()
string GetUri()Gets the HTTP request Uri. Can be null.
| Returns | |
|---|---|
| Type | Description |
string |
|
GetUserAgent()
string GetUserAgent()Gets the user agent. Can be null.
| Returns | |
|---|---|
| Type | Description |
string |
|