Exemplo n.º 1
0
        public IUntypedCall WithSerializedParams(IJsonRpcSerializer serializer)
        {
            var serializedParams = serializer.SerializeParams(Params);

            return(new UntypedNotification()
            {
                Method = Method,
                Params = serializedParams
            });
        }
Exemplo n.º 2
0
        public IUntypedCall WithSerializedParams(IJsonRpcSerializer serializer)
        {
            var serializedParams = serializer.SerializeParams(Params);

            return(new UntypedRequest()
            {
                Id = Id,
                Method = Method,
                Params = serializedParams
            });
        }