Clients

This package contains classes used to create different types of clients.

Classes

CommandableHttpClient

Abstract client that calls a commandable HTTP service.

Commandable services are generated automatically for ICommandable. Each command is exposed as a POST operation that receives all parameters in the body object.

DirectClient

Abstract client that calls a controller directly in the same memory space.

It is used when multiple microservices are deployed in a single container (monolyth) and communication between them can be done by direct calls rather than through the network.

RestClient

Abstract client that calls remote endpoints using the HTTP/REST protocol.

RouteBuilder

Route builder helper class to create routes based on input parameters.