Skip to main content

Module service

Module service 

Source
Expand description

HTTP client for proxying requests between Mae micro-services.

Downstream services are expected to respond with the standard ServiceResult envelope ({ "data": ... } on success, { "error": ... } on failure). The client unwraps the data field and maps HTTP status codes back into Success / ServiceError.

Structs§

HttpServiceClient
Generic HTTP client that forwards the active session user and micro-service credentials.
ServiceClientConfig
Connection parameters for an inter-service HTTP client.