HttpRequest.php 496 B

123456789101112
  1. <?php
  2. namespace app\common\services\qcloud;
  3. class HttpRequest {
  4. public $timeoutMs; // int: the maximum number of milliseconds to perform this request.
  5. public $url; // string: the url this request will be sent to.
  6. public $method; // string: POST or GET.
  7. public $customHeaders; // array: custom modified, removed and added headers.
  8. public $dataToPost; // array: the data to post.
  9. public $userData; // any: user custom data.
  10. }