public void Respond <T>(JsonRpcResponse <T> response) { Contract.RequiresNonNull(response, nameof(response)); lock (rpcCon) { rpcCon?.Send(response); } }