Interface IHummApiUrlSelector
An interface for components that can decide on the base URL to call for Humm.
Namespace: Yort.Humm.InStore
Assembly: Yort.Humm.InStore.dll
Syntax
public interface IHummApiUrlSelector
Remarks
The default implementation is IHummApiUrlSelector and is likely all user code needs. However this interface allows custom versions to be built, such as one that allows user code to explicitly specify a raw URL or to read config settings from persistent storage which are used to make a choice of base address.
Methods
| Improve this Doc View SourceGetUrl()
Gets the base URL to use for Humm API calls.
Declaration
Uri GetUrl()
Returns
Type | Description |
---|---|
Uri | A Uri representing the base API address to be used. |