Show / Hide Table of Contents

Interface IContextWrapper

Wraps an HTTP context.

Namespace: Google.Cloud.Diagnostics.Common
Assembly: Google.Cloud.Diagnostics.Common.dll
Syntax
public interface IContextWrapper

Methods

GetHttpMethod()

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

Declaration
string GetHttpMethod()
Returns
Type Description
System.String

GetUri()

Gets the HTTP request Uri. Can be null.

Declaration
string GetUri()
Returns
Type Description
System.String

GetUserAgent()

Gets the user agent. Can be null.

Declaration
string GetUserAgent()
Returns
Type Description
System.String
Back to top