Skip to content

Connectum API Reference / @connectum/core / ServiceOptions

Type Alias: ServiceOptions โ€‹

ServiceOptions = NonNullable<Parameters<ConnectRouter["service"]>[2]>

Defined in: packages/core/src/defineService.ts:28

Per-service handler options forwarded to ConnectRPC's router.service() โ€” e.g. per-service interceptors (applied to every method of this service) and jsonOptions. Derived from the underlying ConnectRouter.service signature so it always matches the installed @connectrpc/connect.