HttpEndpoint
Represents a set of transforming functions that is specific for an HTTP endpoint.
Usage scheme:
requestCreator transforms Request into HttpRequestBuilder.
Actual HTTP call with Ktor client.
responseReader reads a Dto from HttpResponse.
responseMapper transforms Dto into Response.
If any exception occurred, it is mapped with errorMapper and rethrown.