CasperSecurity

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

<?php

declare(strict_types=1);

namespace Meilisearch\Endpoints;

use Meilisearch\Contracts\ChatWorkspacesResults;
use Meilisearch\Contracts\Endpoint;
use Meilisearch\Contracts\Http;
use Meilisearch\Endpoints\Delegates\HandlesChatWorkspaceSettings;

class ChatWorkspaces extends Endpoint
{
    use HandlesChatWorkspaceSettings;

    protected const PATH = '/chats';

    /**
     * @var non-empty-string|null
     */
    private ?string $workspaceName;

    public function __construct(Http $http, ?string $workspaceName = null)
    {
        $this->workspaceName = $workspaceName;
        parent::__construct($http);
    }

    public function listWorkspaces(): ChatWorkspacesResults
    {
        $response = $this->http->get(self::PATH);

        return new ChatWorkspacesResults($response);
    }

    public function workspace(string $workspaceName): self
    {
        return new self($this->http, $workspaceName);
    }
}
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