clue / reactphp-soap

Simple, async SOAP webservice client, built on top of ReactPHP.
https://clue.engineering/2020/announcing-reactphp-soap-2
MIT License
64 stars 25 forks source link

use with multiple clients #18

Closed jjdarias closed 8 years ago

jjdarias commented 8 years ago

Hi all, I´m new with React PHP, I want to use this library with multiple clients calling the same webservice. How can I put all the requests from different users to the same $factory ? Thanks for your recomendations.

clue commented 8 years ago

Hi @jjdarias, thanks for posting here!

I want to use this library with multiple clients calling the same webservice. How can I put all the requests from different users to the same $factory ?

I'm not sure I follow what you're trying to do.

It appears you may be talking about multiple http requests? In this case, you'd have to use react/http to build a HTTP server and handle each request by invoking methods on the same SoapClient instance.

I hope this helps :+1: