/** * Requests the abstract request. * * @param AbstractRequest $request * @param ResponseHandler $responseHandler * @return mixed|null The handled response * @throws \RealDebrid\Exception\BadTokenException * @throws \RealDebrid\Exception\PermissionDeniedException * @throws \RealDebrid\Exception\RealDebridException * @throws \RealDebrid\Exception\UnknownResourceException */ protected function request(AbstractRequest $request, ResponseHandler $responseHandler = null) { return $request->make($this->client, $responseHandler); }