Inbound
HTTP service and routing
Start a service, declare method/path routes and read path parameters, query, headers and body in a handler.
CoAkka HTTP Runtime · Server + outbound HTTP · Polyglot
Build an HTTP service or call another HTTP service in the language the app already uses. CoAkka HTTP Runtime handles routing, limits, streaming and graceful shutdown through the same foundation in Go, Python, JVM and the other supported languages.
Connectors 2.3.2 use Core SDK 2.3.0. Packages and compatibility
When every language uses a different HTTP stack, the same API can handle limits, timeouts, streaming, observability and shutdown in inconsistent ways. CoAkka HTTP Runtime provides one way to start an HTTP service, declare routes, receive requests and return responses; the application focuses on handlers and business logic through a natural language API.
An existing application can adopt CoAkka HTTP Runtime for an HTTP service it owns. The app still chooses how to handle each request.
Inbound
Start a service, declare method/path routes and read path parameters, query, headers and body in a handler.
Frontend + realtime
API routes, static frontend, SPA fallback, file responses, streaming, Server-Sent Events and WebSocket when supported.
Outbound
Call a declared target with timeouts, TLS, concurrency limits and clearly typed results.
This is not one central HTTP server. Each application service owns the listener, routes and lifecycle of its own instance. An installed package never updates itself; a service explicitly adopts a package it has qualified.
Owns the HTTP edge: listener, protocol, route, body/stream, response, outbound HTTP, transport security, pressure and drain.
Owns named application work: target, Envelope, route snapshot, peer delivery, correlation, Deadletter and Data Lanes.
Owns business handlers, authorization, serialization, database/downstream pools, idempotency, retry and user-facing errors.
An HTTP handler can call a CoAkka Runtime target and map its business outcome into an HTTP response. Each product keeps its own owner and failure contract.
browser/client
↓ HTTP request
CoAkka HTTP Runtime → app-host HTTP handler
↓ optional named work
CoAkka Runtime target
↓ business outcome
HTTP response ← app-host mapping
No. CoAkka HTTP Runtime currently provides outbound request APIs for the application's own service. CoAkka HTTP Client is a separate planned product; the Portal does not use that name for today's outbound surface.
An HTTP service runs without a browser tool. When a developer needs to see effective routes, metadata and OpenAPI without guessing from source, the service can expose a separate inspection surface for a local companion.
Browser · local development
coakka-http-runtime-inspect reads a bounded
route/schema snapshot, projects OpenAPI 3.0.3 and sends real Route
Try requests to a service that explicitly enabled authenticated inspection.
Separate boundary and platform scope. Inspect 2.3.0 embeds Core 2.3 and is available for macOS ARM64 and Linux ARM64. It differs from CoAkka Runtime Inspect, does not replace application authorization and must not be published through a proxy or port forward.
Start with one HTTP service in one process. You do not need HTTP/2, WebSocket, live reload or production monitoring to understand the first request.
Choose a listen address, method/path routes, handlers and suitable limits.
An invalid route, unavailable port or bad configuration returns an error before requests are accepted.
CoAkka HTTP Runtime selects the route and gives path, query, headers and body to the handler.
The handler validates input, authorizes access, calls a database or another service and chooses a result.
The handler returns status, headers and body. Shutdown stops new requests and waits for active work.
API
Receive requests, run handlers and return responses in the same way across languages.
Web app
Serve /api/*, assets, SPA fallback and files authorized by the application.
Realtime
Send updates with SSE, WebSocket or response streams with clear reconnect and shutdown behavior.
Integration
Call external APIs with timeouts, redirects, TLS, concurrency limits and application-owned retry.
Edge
Keep the public HTTP contract at the edge, then call a CoAkka Runtime target for distributed application work when needed.
Operations
Check health, liveness, active configuration, current load and actionable failures.
Find the right feature guide →
Open only the task you need. Before using an advanced feature, check that the running package and platform support it.
HTTP/1.1 is the starting point. HTTP/2 uses TLS over TCP; HTTP/3 uses TLS 1.3 over UDP. A standalone listener serves one version. Listener V1 serves all 3 over HTTPS on the same port for buffered requests and responses.
Choose between HTTP/1.1, HTTP/2 and HTTP/3 →
Run 3 focused labs → · Run all 3 on one port → · TLS/mTLS and certificates →
Example: receive a large video in parts or send a long report without retaining it all in memory. Choose limits for bodies, multipart uploads and queued output; when a stream cannot write, wait for the appropriate signal.
Open the upload and streaming guide → · Resume a large upload → · Run the upload labs
Example: serve an SPA at /, an API at /api/* and an invoice PDF only after the handler authorizes access. Place API routes before SPA fallback; the application decides which files are public.
Example: SSE sends one-way order updates, while WebSocket supports a two-way collaboration session. Limit each session and its queued output, and define reconnect/resume behavior.
Example: checkout calls a declared billing target instead of accepting an arbitrary URL from the request. The application chooses authorization, idempotency and retry; timeout does not prove the other API did no work.
Example: move a pricing route from handler v1 to v2 without changing its URL. Validate v2 before activation; active requests continue on v1 and new requests use v2 only after a successful update.
Example: health feeds readiness, liveness checks that the service still progresses, and Monitor shows recent load and failures. Monitoring is disabled by default and stores no request body or credential.
Example: checkout refuses early when enough requests are active instead of building an unbounded queue. During a rollout, stop new requests and wait for handlers; a close timeout means shutdown is not yet safe.
Open the capacity and shutdown guide → · Run the drain lab with a request in flight · See the VPS rollout guide
Do not collapse every incident into one exception or generic HTTP 500. A stable category lets the application choose a response; structured facts let an operator fix the right owner.
Find a package before upgrading
2.3 is the Core generation and 1 is the first connector revision on it. C/C++ and Go use SDK 2.3.0. SwiftPM resolves the published GitHub tag. Study lessons show the version used to verify their examples alongside the install command.
| App host | Public package | Primary channel | Surface |
|---|---|---|---|
| Node.js | [email protected] | npm | JavaScript/TypeScript builder |
| Bun | [email protected] | npm through Bun | Separate Bun package and host lifecycle |
| Python | coakka-http-runtime-python==2.3.2 | PyPI | Python builder and explicit service lifetime |
| Java + Kotlin/JVM | io.github.phuong-tran.coakka:coakka-http-runtime-jvm:2.3.2 | Maven Central | One Kotlin-first, Java-friendly JVM connector |
| Go | github.com/phuong-tran/coakka-http-runtime-go/[email protected] | Go module | Go builders, structs, errors and context |
| C# / .NET | CoAkka.Http.Runtime 2.3.2 | NuGet | .NET 8+ |
| Swift | coakka-http-runtime-swift 2.3.2 | SwiftPM | Swift 6.0+ |
| C/C++ | CoAkkaHttpHost 2.3.0 · public C ABI 10 | Versioned SDK + checksum | C host API; C++ uses RAII over the same ABI |
2.3.2 release notes and checksums
Scope platform claims to the exact tuple. The native SDK has five artifacts: Linux ARM64/x86-64, Windows ARM64/x64 and macOS ARM64; WSL2 uses the matching Linux artifact. Package presence does not prove protocol, TLS, filesystem or matching-host execution for every connector. Read capability bits and evidence for the exact package, OS and CPU.
Open the CoAkka HTTP Runtime Reference Desk → to choose a topic by task, interpret version/support claims and move from symptom to structured fact before choosing a language.
This product page keeps the shared contract in one place. Each path covers only the installation, syntax, API and outcomes of its exact package; it does not redefine routing, pressure, security or shutdown.
The Portal is the primary learning and lookup surface. Use GitHub when you want full source, checksums or package layout.