Top 1 Delivery Realtime
Socket server
HTTP route and Socket.IO status for https://socket.top1delivery.com
Environmentproduction
Connected sockets0
Uptime44m 51s
Started9/4/2026, 10:01:32 AM
Configuration
| Socket path | /socket.io |
|---|---|
| WebSocket base URL | wss://socket.top1delivery.com |
| Socket.IO URL | wss://socket.top1delivery.com/socket.io |
| CORS origins | * |
| Internal API key | Configured |
| Socket auth secret | Configured |
| Unsigned auth | Allowed |
| Publish rate limit | 120 requests / 60s |
HTTP Routes
| Method | Path | Name | Access | Description |
|---|---|---|---|---|
GET |
/ |
Status page | public | Browser dashboard for confirming the socket server is active. |
GET |
/health |
Health check | public | Machine-readable uptime, environment, and connected socket count. |
GET |
/routes |
Route inventory | public | Machine-readable list of HTTP routes and socket events. |
POST |
/events |
Publish event | internal key | Publish a typed realtime event to calculated rooms. |
POST |
/events/order-updated |
Publish order update | internal key | Publish order.updated using the order event route. |
POST |
/events/payment |
Publish payment update | internal key | Publish payment.updated events. |
POST |
/events/cash-collection |
Publish cash collection update | internal key | Publish cash.collection.updated events. |
POST |
/events/rider-location |
Publish rider location update | internal key | Publish rider.location.updated events. |
POST |
/events/notification |
Publish notification | internal key | Publish notification.created events. |
POST |
/tokens/development |
Development auth token | disabled | Create signed test tokens outside production. |
WS |
/socket.io |
Socket.IO transport | signed auth token | Realtime websocket and polling transport endpoint. |
Socket Events
| Direction | Event | Description |
|---|---|---|
| server -> client | socket:ready |
Sent after a socket connects and joins its base rooms. |
| client -> server | order:watch |
Join an order room when the socket is allowed to watch it. |
| client -> server | order:unwatch |
Leave an order room. |
| server -> client | order:created, order:updated, order:assigned, order:status-updated, order.deleted |
Delivery order lifecycle events. |
| server -> client | payment:updated, payment.deleted, cash-collection:updated |
Payment and cash collection events. |
| server -> client | rider:location-updated, notification:created |
Live GPS and notification events. |
Active Rooms
| Room | Sockets |
|---|---|
| No shared rooms active right now. | |