In-Process Transport
Orders and Inventory can run on one Server. A local client reaches Inventory without opening a socket, but still goes through the router and configured server middleware. It is not a direct call to the handler function.
A local call
With inventory registered on server and InventoryService generated:
typescript
const client = server.client(InventoryService);
const stock = await client.checkStock({ sku: 'A-1' });A local call needs no server.start(). Calling a non-local service needs a configured resolver. Local tests do not prove TLS, HTTP framing or proxy behavior.
Go deeper
- API choices, parity guarantees, cancellation and security limits.
- Watch local and remote routing.
- Test the deployed boundary too.
Find a section from the full guide
The detailed material is preserved on a separate page. Earlier section links still work here.