PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\utils\InternetRequestResult Class Reference
+ Collaboration diagram for pocketmine\utils\InternetRequestResult:

Public Member Functions

 __construct (private array $headers, private string $body, private int $code)
 
 getBody ()
 
 getCode ()
 
 getHeaders ()
 

Detailed Description

Definition at line 26 of file InternetRequestResult.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\utils\InternetRequestResult::__construct ( private array $headers,
private string $body,
private int $code )
Parameters
string[][]$headers@phpstan-param list<array<string, string>> $headers

Definition at line 31 of file InternetRequestResult.php.

Member Function Documentation

◆ getBody()

pocketmine\utils\InternetRequestResult::getBody ( )

Definition at line 43 of file InternetRequestResult.php.

◆ getCode()

pocketmine\utils\InternetRequestResult::getCode ( )

Definition at line 45 of file InternetRequestResult.php.

◆ getHeaders()

pocketmine\utils\InternetRequestResult::getHeaders ( )
Returns
string[][] @phpstan-return list<array<string, string>>

Definition at line 41 of file InternetRequestResult.php.


The documentation for this class was generated from the following file: