12 std::vector<GatewaySpec> gateways_;
14 std::vector<GatewaySpec>::iterator FindGateway(std::string_view);
20 std::optional<GatewaySpec>
GetGateway(std::size_t index)
const override;
21 unsigned GetGatewayRate(std::string_view)
override;
22 void SetGatewayRate(std::string_view,
unsigned)
override;
23 void AddGateway(std::string_view,
unsigned)
override;
24 unsigned RoutingApiDiscoveryDefaultRate()
const override;
25 bool RoutingApiDiscoveryOfUnencryptedGateways()
const override;
26 int GetTypeAffinity(std::string_view url_prefix,
27 gw::GatewayRequestType)
const override;
28 void SetTypeAffinity(std::string_view url_prefix,
29 gw::GatewayRequestType,