Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/clinic.corals.io/vendor/facade/flare-client-php/src/Http/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/clinic.corals.io/vendor/facade/flare-client-php/src/Http/Response.php
<?php

namespace Facade\FlareClient\Http;

class Response
{
    private $headers;

    private $body;

    private $error;

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

        $this->body = $body;

        $this->error = $error;
    }

    /**
     * @return mixed
     */
    public function getHeaders()
    {
        return $this->headers;
    }

    /**
     * @return mixed
     */
    public function getBody()
    {
        return $this->body;
    }

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

    /**
     * @return mixed
     */
    public function getError()
    {
        return $this->error;
    }

    /**
     * @return null|int
     */
    public function getHttpResponseCode()
    {
        if (! isset($this->headers['http_code'])) {
            return;
        }

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

Spamworldpro Mini