iron-io / iron_mq_php

PHP client for IronMQ.
www.iron.io
BSD 2-Clause "Simplified" License
89 stars 43 forks source link

Long Polling #31

Open narmak101 opened 10 years ago

narmak101 commented 10 years ago

There's currently no way to use the long polling feature when getting messages off the Message Queue. IronMQ::getMessage and IronMQ::getMessages should be able to take a "wait" parameter or maybe an array of additional parameters to be used in the api call.

treeder commented 10 years ago

Probably needs to be added to the php lib still. Pull requests welcome. ;)

sunloverz commented 10 years ago

Added the long polling feature https://github.com/sunloverz/iron_mq_php/commit/67ef7721f23245963e46cb65823362192a3d240e