@connectum/core
Server foundation for registration, lifecycle, transport, configuration, TLS, and typed service calls.
Install
bash
npm install @connectum/corebash
pnpm add @connectum/corebash
bun add @connectum/coreStart Here
typescript
import { createServer } from '@connectum/core';
const server = createServer({
services: [greeterService],
port: 5000,
shutdown: { autoShutdown: true },
});
await server.start();For a complete, source-verified workflow, continue with the focused guide below.
Key Entry Points
| Entry point | Use it to |
|---|---|
createServer | Compose services, protocols, interceptors, and shutdown policy. |
defineService | Bind a generated service descriptor to typed handlers. |
createCatalogClient | Call catalog services outside a server handler. |
Runtime boundaries and extension seams remain in Connectum Runtime Architecture.
Learn / Configure / API Reference
- Learn: Focused guide
- Configure: Task and configuration guidance
- API reference: Exact options and symbols
- Package API index: Generated TypeDoc
- Source: @connectum/core on GitHub
Related Modules
Compare all Connectum packages by capability.