AppDynamics Xamarin SDK  2020.11.0
Real user monitoring for your Xamarin app.
Public Member Functions | Static Public Member Functions | Properties | List of all members
AppDynamics.Agent.HTTPRequestTracker Class Reference

HTTP request tracker. More...

Inheritance diagram for AppDynamics.Agent.HTTPRequestTracker:

Public Member Functions

void ReportDone ()
 Finish and send the HTTP information. More...
 

Static Public Member Functions

static IHttpRequestTracker Create (Uri uri)
 Create a tracker for the specified URI. More...
 

Properties

Exception Exception [get, set]
 Gets or sets the exception associated with the request. More...
 
IEnumerable< KeyValuePair< string, IEnumerable< string > > > RequestHeaderFields [get, set]
 Gets or sets the HTTP request header fields. More...
 
int ResponseCode [get, set]
 Gets or sets the response code. More...
 
IEnumerable< KeyValuePair< string, IEnumerable< string > > > ResponseHeaderFields [get, set]
 Gets or sets the HTTP response header fields. More...
 
string StatusLine [get, set]
 Gets or sets the status line from the HTTP response More...
 

Detailed Description

HTTP request tracker.

Use this to explicitly report HTTP requests.

Member Function Documentation

§ Create()

static IHttpRequestTracker AppDynamics.Agent.HTTPRequestTracker.Create ( Uri  uri)
inlinestatic

Create a tracker for the specified URI.

Parameters
uriURI that we are tracking.

§ ReportDone()

void AppDynamics.Agent.HTTPRequestTracker.ReportDone ( )
inline

Finish and send the HTTP information.

Immediately after receiving a response or an error, set the appropriate fields and call this method to report the outcome of the HTTP request.

You should not continue to use this object after calling this method. If you need to track another request, obtain a new instance.

Property Documentation

§ Exception

Exception AppDynamics.Agent.HTTPRequestTracker.Exception
getset

Gets or sets the exception associated with the request.

The exception describing the error

§ RequestHeaderFields

IEnumerable<KeyValuePair<string, IEnumerable<string> > > AppDynamics.Agent.HTTPRequestTracker.RequestHeaderFields
getset

Gets or sets the HTTP request header fields.

The HTTP request header fields.

§ ResponseCode

int AppDynamics.Agent.HTTPRequestTracker.ResponseCode
getset

Gets or sets the response code.

The integer response code from the HTTP response.

§ ResponseHeaderFields

IEnumerable<KeyValuePair<string, IEnumerable<string> > > AppDynamics.Agent.HTTPRequestTracker.ResponseHeaderFields
getset

Gets or sets the HTTP response header fields.

The HTTP response header fields.

§ StatusLine

string AppDynamics.Agent.HTTPRequestTracker.StatusLine
getset

Gets or sets the status line from the HTTP response

The status line.


The documentation for this class was generated from the following file: