Integration
Explore how TypeAPI transforms your specifications into production-ready code. These examples demonstrate the clean, type-safe client SDKs and server stubs generated for every major ecosystem, giving you a first-hand look at the developer experience.
send
Client SDK
client.ts
const credentials = new Anonymous();
const client = new Client('http://127.0.0.1:1080', credentials);
message = client.test().getHello()
console.log('Message: ' + message.message);
dns
Server Stub
controller.ts
@Controller()
export class AppController {
@Get('/hello/world')
@HttpCode(200)
getMessage(): HelloWorld {
// @TODO implement method
return {};
}
}