You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
539 B
26 lines
539 B
<?php
|
|
|
|
namespace Stripe;
|
|
|
|
/**
|
|
* Class RequestTelemetry.
|
|
*
|
|
* Tracks client request telemetry
|
|
*/
|
|
class RequestTelemetry
|
|
{
|
|
public $requestId;
|
|
public $requestDuration;
|
|
|
|
/**
|
|
* Initialize a new telemetry object.
|
|
*
|
|
* @param string $requestId the request's request ID
|
|
* @param int $requestDuration the request's duration in milliseconds
|
|
*/
|
|
public function __construct($requestId, $requestDuration)
|
|
{
|
|
$this->requestId = $requestId;
|
|
$this->requestDuration = $requestDuration;
|
|
}
|
|
}
|
|
|