Google.Cloud.Diagnostics.Common - Interface IContextWrapper (5.1.0)

public interface IContextWrapper

Reference documentation and code samples for the Google.Cloud.Diagnostics.Common interface IContextWrapper.

Wraps an HTTP context.

Namespace

GoogleCloudGoogle.Cloud.DiagnosticsCommon

Assembly

Google.Cloud.Diagnostics.Common.dll

Methods

GetHttpMethod()

string GetHttpMethod()

Gets the HTTP method. GET, POST, etc. Can be null.

Returns
TypeDescription
string

GetUri()

string GetUri()

Gets the HTTP request Uri. Can be null.

Returns
TypeDescription
string

GetUserAgent()

string GetUserAgent()

Gets the user agent. Can be null.

Returns
TypeDescription
string