CasperSecurity

Current Path : /var/www/orientalss.com/vendor/meilisearch/meilisearch-php/src/Contracts/
Upload File :
Current File : /var/www/orientalss.com/vendor/meilisearch/meilisearch-php/src/Contracts/Http.php

<?php

declare(strict_types=1);

namespace Meilisearch\Contracts;

use Meilisearch\Exceptions\ApiException;
use Meilisearch\Exceptions\JsonDecodingException;
use Meilisearch\Exceptions\JsonEncodingException;
use Psr\Http\Message\StreamInterface;

interface Http
{
    /**
     * @throws ApiException
     * @throws JsonDecodingException
     */
    public function get(string $path, array $query = []);

    /**
     * @param non-empty-string|null $contentType
     *
     * @throws ApiException
     * @throws JsonEncodingException
     * @throws JsonDecodingException
     */
    public function post(string $path, $body = null, array $query = [], ?string $contentType = null);

    /**
     * @param non-empty-string|null $contentType
     *
     * @throws ApiException
     * @throws JsonEncodingException
     * @throws JsonDecodingException
     */
    public function put(string $path, $body = null, array $query = [], ?string $contentType = null);

    /**
     * @throws ApiException
     * @throws JsonEncodingException
     * @throws JsonDecodingException
     */
    public function patch(string $path, $body = null, array $query = []);

    /**
     * @throws ApiException
     * @throws JsonDecodingException
     */
    public function delete(string $path, array $query = []);

    /**
     * @throws ApiException
     * @throws JsonEncodingException
     */
    public function postStream(string $path, $body = null, array $query = []): StreamInterface;
}
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY