开发者

How can I call a symfony webAction using php sockets?

开发者 https://www.devze.com 2023-02-24 06:13 出处:网络
I have a Symfony application working, which is a component that needs to be accessed by the main component of my website and by some external clients.

I have a Symfony application working, which is a component that needs to be accessed by the main component of my website and by some external clients.

Currently, everyone is using cURL to interact with the component, but I figured it could be faster for me to use a socket based communication mechanism for the internal uses of the component.

Off course, I'd like to use the same webActions I use when I call the component as a regular client, is there any av开发者_StackOverflow中文版ailable plugin or something that might help? Thanks.


you should try the sfWebBrower plugin, it has a sfSocketsAdapter .

0

精彩评论

暂无评论...
验证码 换一张
取 消