Beispiel #1
0
        public virtual Task <AppCore.Result> Pause(IDictionary <string, string> httpHeaders = null)
        {
            var routeParamValues = new Dictionary <string, string> {
            };
            const string url     = "api/v1/Send/Pause";

            return(_client.SendAsync(true, url, routeParamValues, httpHeaders));
        }
Beispiel #2
0
        public virtual Task <AppCore.Result <model.Message> > Send(model.Message msg, IDictionary <string, string> httpHeaders = null)
        {
            var routeParamValues = new Dictionary <string, string> {
                { "msg", msg.ToString() }
            };
            const string url = "api/v1/Message/Send";

            return(_client.SendAsync <model.Message>(true, url, routeParamValues, httpHeaders, msg));
        }