pocketmine\scheduler\SendUsageTask::onRun PHP Метод

onRun() публичный Метод

public onRun ( )
    public function onRun()
    {
        try {
            Utils::postURL($this->endpoint, $this->data, 5, ["Content-Type: application/json", "Content-Length: " . strlen($this->data)]);
        } catch (\Throwable $e) {
        }
    }