Interface IHostOverride
- Namespace
- Whipstaff.Runtime.HostOverride
- Assembly
- Whipstaff.Runtime.dll
A mechanism for allowing the overriding of DNS\hosts within webservice clients. This has come from having an infrastructure that uses global messaging designs but we don't to direct traffic out and back into the network when there is no point. This can be done via a hosts file on the system. but it adds a level of complication in managing systems. And a hosts file is global to the whole operating system.
public interface IHostOverride
Methods
Resolve(string)
Returns an overridable hostname.
string? Resolve(string host)
Parameters
host
stringThe host to check.
Returns
- string
A target host, or null if no override.