public void DeleteQueue(QueueRequestOperationParams queue) { Delete(string.Format("api/queues/{0}/{1}", queue.VirtualHostName.SanitizeVirtualHostName(), queue.QueueName)); //var request = // BuildHttpDeleteRequest( // string.Format("queues/{0}/{1}", queue.VirtualHostName.SanitizeVirtualHostName(), queue.QueueName)); //var response = request.GetResponse() as HttpWebResponse; //if (response.StatusCode != HttpStatusCode.NoContent) //{ //} }
public void CreateQueue(QueueRequestOperationParams queue) { Put(string.Format("api/queues/{0}/{1}", queue.VirtualHostName.SanitizeVirtualHostName(), queue.QueueName), queue); }