public function send(Request $request, $async = false): \Psr\Http\Message\StreamInterface
    {
        $this->currentUri = $request->fullUrl();
        $options = [];

        if ($request->method() === 'POST' || $request->method() === 'PUT') {
            $options['json'] = $request->request->all();
        }

        $client = new Client();
        $requestType = $async ? 'requestAsync' : 'request';

        $response = $client->{$requestType}($request->method(), $this->currentUri, $options);

        return $response->getBody();
    }