PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
give / vendor / stripe / stripe-php / lib / HttpClient / StreamingClientInterface.php

StreamingClientInterface.php in GiveWP – Donation Plugin and Fundraising Platform 4.16.9, at vendor/stripe/stripe-php/lib/HttpClient/StreamingClientInterface.php

24 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Stripe\HttpClient;
4
5 interface StreamingClientInterface
6 {
7 /**
8 * @param string $method The HTTP method being used
9 * @param string $absUrl The URL being requested, including domain and protocol
10 * @param array $headers Headers to be used in the request (full strings, not KV pairs)
11 * @param array $params KV pairs for parameters. Can be nested for arrays and hashes
12 * @param bool $hasFile Whether or not $params references a file (via an @ prefix or
13 * CURLFile)
14 * @param callable $readBodyChunkCallable a function that will be called with chunks of bytes from the body if the request is successful
15 *
16 * @throws \Stripe\Exception\ApiConnectionException
17 * @throws \Stripe\Exception\UnexpectedValueException
18 *
19 * @return array an array whose first element is raw request body, second
20 * element is HTTP status code and third array of HTTP headers
21 */
22 public function requestStream($method, $absUrl, $headers, $params, $hasFile, $readBodyChunkCallable);
23 }
24