Call a Ktor API described with type-safety in common code.
Describe your Ktor API in code shared between the client and the server.