HTTP request tracker.
More...
|
static IHttpRequestTracker | Create (Uri uri) |
| Create a tracker for the specified URI. More...
|
|
|
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...
|
|
Uri | Uri [get, set] |
| Gets or sets the URL from the HTTP response More...
|
|
HTTP request tracker.
Use this to explicitly report HTTP requests.
§ Create()
static IHttpRequestTracker AppDynamics.Agent.HTTPRequestTracker.Create |
( |
Uri |
uri | ) |
|
|
inlinestatic |
Create a tracker for the specified URI.
- Parameters
-
uri | URI 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.
§ 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.
§ Uri
Uri AppDynamics.Agent.HTTPRequestTracker.Uri |
|
getset |
Gets or sets the URL from the HTTP response
The documentation for this class was generated from the following file:
- shared/HTTPRequestTracker.cs