A game with an AI
The player stays in the match. Each line is posted to your webhook. You push the answer back.
Your players stay connected. Your function can return. A game, app, or device opens one WebSocket. A function on Vercel, Cloudflare, or AWS Lambda cannot hold that connection. XStreamIO holds it. Every message is posted to your HTTPS webhook. Your function answers and exits. The player gets the reply on the same socket.
You keep the AI and the product. XStreamIO keeps the connection.
Self-host is $299 once. Studio is $499 once. Both use the Pro relay limit. The same account covers the higher plans.
Register, copy the project, and turn the relay on. The first 2,000 messages are free.
Create a free accountsession.open message.received session.close
Those three events are what your webhook receives. Questions go to help@xstreamio.com.
Same socket. The work on your side can finish.
The player stays in the match. Each line is posted to your webhook. You push the answer back.
Someone types a question. A function on Vercel, Cloudflare, or Lambda writes the reply and returns. The chat stays open.
One socket stays up. The function does the work and exits. The device is still there for the next message.
Leave your name, a way to reach you, and your question.