public void SendOneWayMessage(SimpleMessage restMessageToSend) { MessageSender.SendOneWayMessage(this, restMessageToSend); }
/// <summary> /// Sends a message to the /// </summary> /// <typeparam name="T"></typeparam> /// <param name="restMessageToSend"></param> /// <returns></returns> public async Task <SimpleResponse <T> > SendMessageAsync <T>(SimpleMessage restMessageToSend) { return(await MessageSender.SendMessage <T>(simpleClient : this, simpleMessage : restMessageToSend)); }