Runtime API
RahulChaube Runtime provides built-in HTTP server capabilities and web standard APIs (Fetch, Request, Response, WebSocket, Crypto).
Web Standard Server
// server.ts
Bun.serve({
port: 3000,
fetch(req) {
return new Response("Hello from RahulChaube Runtime!");
},
});REST API Services
The bundled API engine in api/ provides standard REST services:
GET /api/health— Server health checksGET /api/version— Runtime version infoGET /api/releases— Official release listGET /api/openapi.json— OpenAPI specifications