jaxl / JAXL

Asynchronous, non-blocking I/O, event based PHP library for writing custom TCP/IP client and server implementations. From it's previous versions, library inherits a full blown stable support for XMPP protocol stack. In v3.0, support for HTTP protocol stack was also added.
http://jaxl.readthedocs.org/
Other
379 stars 121 forks source link

Can JAXL work synchronously? #57

Open xinwo opened 9 years ago

xinwo commented 9 years ago

as title.

Thanks in advance

abhinavsingh commented 9 years ago

Hi,

You should be able to write simple synchronous wrappers on top of existing async API and use them. JAXL wasn't designed to provide synchronous calls internally. On Fri, May 1, 2015 at 9:06 PM xinwo notifications@github.com wrote:

as title.

Thanks in advance

— Reply to this email directly or view it on GitHub https://github.com/jaxl/JAXL/issues/57.

xinwo commented 9 years ago

Hi

Thank you for your quick response.

You should be able to write simple synchronous wrappers on top of existing async API and use them A little example will be appreciated.

I checked the document, but still can't figure out how to do it