/** * Basic Server Example * * Run with: bun packages/server/examples/basic.ts * Or with custom port: PORT=8080 bun packages/server/examples/basic.ts * * Then test with (using port 3001 by default): * curl http://localhost:3001/health * curl http://localhost:3001/state * curl -X POST http://localhost:3001/invoke -H "Content-Type: application/json" -d '{"input":"Hello!"}' * curl -N http://localhost:3001/events # SSE combined stream * curl -N http://localhost:3001/stream/state # State updates only * curl -N http://localhost:3001/stream/actions # Action events only */ export {}; //# sourceMappingURL=basic.d.ts.map