public async Task ConnectWithDestination() { await Write(MessageFactory.ConnectWithDestination(Client.CurrentApplicationTransportId)); }
public async Task ConnectWithDestination(string transportId, CancellationToken token) { await Write(MessageFactory.ConnectWithDestination(transportId), token).ConfigureAwait(false); }