PocketMine-MP 5.23.2 git-45917d495c14f3ce37bbf0848262ad8a470030f3
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: