*/ interface AsyncApiRequester { /** * @since 2.2 * * @param Request $request The GET request to send. * * @return PromiseInterface * Normally promising an array, though can be mixed (json_decode result) * Can throw UsageExceptions or RejectionExceptions */ public function getRequestAsync( Request $request ); /** * @since 2.2 * * @param Request $request The POST request to send. * * @return PromiseInterface * Normally promising an array, though can be mixed (json_decode result) * Can throw UsageExceptions or RejectionExceptions */ public function postRequestAsync( Request $request ); }