Documentation Index
Fetch the complete documentation index at: https://socket-serve.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
createSocketServer
Creates a new socket server instance.Parameters
options.redisUrl(string, required) - Redis connection URLoptions.redisOptions(object, optional) - ioredis configuration optionsoptions.redis(Redis, optional) - Pre-configured Redis instance
Returns
SocketServer instance
SocketServer
Events
connection
Emitted when a client connects.Next Steps
- Server Socket - Individual socket API
- Adapters - Framework adapters