blob: 8ab0f9305fba80ddb9b3d5208fc28e25c1408fb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using Google.Protobuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.Transport.Web
{
public interface IWebTransportClient : IDisposable
{
Task<Response> PostProto<Request, Response>(String url, Request request) where Request : class, IMessage where Response : class, IMessage;
Task<Response> PostJson<Request, Response>(String url, Request request) where Request : class, IWebRequestMessage where Response : class, IWebResponseMessage;
}
}
|