* * @throws ErrorException|UnserializableResponse|TransporterException */ public function requestObject(Payload $payload): array|string; /** * Sends a content request to a server. * * @throws ErrorException|TransporterException */ public function requestContent(Payload $payload): string; /** * Sends a stream request to a server. ** * @throws ErrorException */ public function requestStream(Payload $payload): ResponseInterface; }