20 virtual std::optional<GatewaySpec>
GetGateway(std::size_t index)
const = 0;
21 virtual unsigned GetGatewayRate(std::string_view url_prefix) = 0;
22 virtual int GetTypeAffinity(std::string_view url_prefix,
23 gw::GatewayRequestType)
const = 0;
24 virtual void SetTypeAffinity(std::string_view url_prefix,
25 gw::GatewayRequestType,
31 virtual void SetGatewayRate(std::string_view url_prefix,
unsigned rpm) = 0;
32 virtual void AddGateway(std::string_view url_prefix,
unsigned rpm) = 0;
35 virtual unsigned RoutingApiDiscoveryDefaultRate()
const = 0;
36 virtual bool RoutingApiDiscoveryOfUnencryptedGateways()
const = 0;