PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
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: