Class HttpApiTool.Exchange
One call of the tool as it happened on the wire.
public sealed class HttpApiTool.Exchange
- Inheritance
-
HttpApiTool.Exchange
- Inherited Members
Properties
- Answer
Gets the tool's answer, as the model receives it.
- Attempts
Gets how many times the request was sent: more than one when a transient failure was retried.
- DurationMs
Gets how long the call took, in milliseconds.
- Error
Gets why the call did not complete, or null when it did.
- Method
Gets the HTTP method sent.
- RequestBody
Gets the JSON body sent, or null when the call had none.
- RequestHeaders
Gets the request headers sent, the definition's and the arguments' together.
- ResponseBody
Gets the response body as received, or null when nothing was received.
- ResponseHeaders
Gets the response headers.
- Status
Gets the response status code, or 0 when nothing was received.
- Url
Gets the URL called, arguments filled in.