BuddyServiceSendAndReceiveAsyncT Method (UInt16, ActionOutgoingMessage, FuncIncomingMessage, T, CancellationToken) |
Namespace: Buddy.Service.Client
public Task<T> SendAndReceiveAsync<T>( ushort opcode, Action<OutgoingMessage> writer, Func<IncomingMessage, T> reader, CancellationToken ct = null )