Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

fatiboca's avatar

Connect to external API through channel events - websocket

I need to connect my event channel with an external API. My service is developed with sockets with the library WebSocket and i don't know how to configure the external server into my app. I want to send a message to my event channel, to have my channel send my message to an external api, and then to receive a response back from that external api in my event channel. Does anyone know how to do this? Thanks!

0 likes
0 replies

Please or to participate in this conversation.