private async Task <JsonRpcResponse> SendJsonRpcAsync(JsonRpcRequest request, CancellationToken cancellationToken)
        {
            // Send request to server:
            String response = await m_resolver.CallAsync(cancellationToken,
                                                         async (ep, ct) => await s_httpClient.GetStringAsync(ep + $"?jsonrpc={request.ToString()}").WithCancellation(cancellationToken).ConfigureAwait(false));

            // Get response from server:
            return(JsonRpcResponse.Parse(response));
        }