PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Public Member Functions | |
close (string $reason="unknown reason") | |
send (string $payload, bool $immediate, ?int $receiptId) | |
Definition at line 26 of file PacketSender.php.
pocketmine\network\mcpe\PacketSender::close | ( | string | $reason = "unknown reason" | ) |
Closes the channel, terminating the connection.
Implemented in pocketmine\network\mcpe\raklib\RakLibPacketSender.
pocketmine\network\mcpe\PacketSender::send | ( | string | $payload, |
bool | $immediate, | ||
?int | $receiptId ) |
Pushes a packet into the channel to be processed.
Implemented in pocketmine\network\mcpe\raklib\RakLibPacketSender.