Field TransportName
- Namespace
- MailFathom.Infrastructure.ObjectStorage
- Assembly
- MailFathom.Infrastructure.dll
The name of the outbound client every request to the endpoint is made through.
public const string TransportName = "object-storage"
Returns
- string
- The name of the outbound client every request to the endpoint is made through.
Remarks
Declared on this type rather than on a consumer, because the adapter and the health check reach one endpoint
under one set of bounds and a name on one of them would leave the other reading a string it does not own.
CreateClient with an unregistered name answers with an unbounded client rather than failing, so the
agreement between the registration and both call sites has to be a compile-time one.