PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
pocketmine\scheduler\BulkCurlTaskOperation Class Reference
+ Collaboration diagram for pocketmine\scheduler\BulkCurlTaskOperation:

Public Member Functions

 __construct (private string $page, private float $timeout=10, private array $extraHeaders=[], private array $extraOpts=[])
 
 getExtraHeaders ()
 
 getExtraOpts ()
 
 getPage ()
 
 getTimeout ()
 

Detailed Description

Definition at line 26 of file BulkCurlTaskOperation.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\scheduler\BulkCurlTaskOperation::__construct ( private string $page,
private float $timeout = 10,
private array $extraHeaders = [],
private array $extraOpts = [] )
Parameters
string[]$extraHeaders
mixed[]$extraOpts@phpstan-param list<string> $extraHeaders @phpstan-param array<int, mixed> $extraOpts

Definition at line 33 of file BulkCurlTaskOperation.php.

Member Function Documentation

◆ getExtraHeaders()

pocketmine\scheduler\BulkCurlTaskOperation::getExtraHeaders ( )
Returns
string[] @phpstan-return list<string>

Definition at line 48 of file BulkCurlTaskOperation.php.

◆ getExtraOpts()

pocketmine\scheduler\BulkCurlTaskOperation::getExtraOpts ( )
Returns
mixed[] @phpstan-return array<int, mixed>

Definition at line 54 of file BulkCurlTaskOperation.php.

◆ getPage()

pocketmine\scheduler\BulkCurlTaskOperation::getPage ( )

Definition at line 40 of file BulkCurlTaskOperation.php.

◆ getTimeout()

pocketmine\scheduler\BulkCurlTaskOperation::getTimeout ( )

Definition at line 42 of file BulkCurlTaskOperation.php.


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