public function sampleAction(JsonRpcRequestInterface $request) { return new JsonRpcResponse($request->getId()); }
/** * @param JsonRpcRequestInterface $request * @return static */ public static function requestSendButNotResponded(JsonRpcRequestInterface $request) { return new static(sprintf('Request with id "%s" was sent to endpoint, but output does not contain response for this request', $request->getId())); }
/** {@inheritdoc} */ public function getId() { return $this->request->getId(); }