PocketMine-MP 5.15.1 git-fb9a74e8799c71ed8292cfa53abe7a4c9204629d
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 
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 ( )
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: