Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding description

  • Loading branch information...
commit 170d35e094ea7acda94832e881498f51f48d8063 1 parent 861d29f
@freeman1988 freeman1988 authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 README.md
View
15 README.md
@@ -121,6 +121,13 @@ $ironmq->getMessage($queue_name);
When you pop/get a message from the queue, it will NOT be deleted.
It will eventually go back onto the queue after a timeout if you don't delete it (default timeout is 60 seconds).
+Get multiple messages in one API call:
+
+```php
+<?php
+$ironmq->getMessage($queue_name, 3);
+```
+
--
### Delete a Message from the Queue
@@ -131,6 +138,14 @@ $ironmq->deleteMessage($queue_name, $message_id);
```
Delete a message from the queue when you're done with it.
+Delete multiple messages in one API call:
+
+```php
+<?php
+$ironmq->deleteMessages($queue_name, array("xxxxxxxxx", "xxxxxxxxx"));
+```
+Delete multiple messages specified by messages id array.
+
--
Please sign in to comment.
Something went wrong with that request. Please try again.