protected function proxyRequestViaVersion(string $swapVersion, callable $callback): Response
    {
        $version = $this->version;

        try {
            $this->version = $swapVersion;

            return \call_user_func($callback);
        } finally {
            $this->version = $version;
        }
    }