/
aprogrammer
/
reverse-proxy-ms-yarp
Обзор
Документация
Войти
/
aprogrammer
/
reverse-proxy-ms-yarp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/ReverseProxy/Model/IReverseProxyFeature.cs
38 строк
1 KB
Thomas Carlier
Typos (#2547)
23 июл 2024, 20:30
Не верифицирован
23 июл 2024, 20:30
cb0cdec
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; namespace Yarp.ReverseProxy.Model; /// <summary> /// Stores the current proxy configuration used when processing the request. /// </summary> public interface IReverseProxyFeature { /// <summary> /// The route model for the current request. /// </summary> RouteModel Route { get; } /// <summary> /// The cluster model for the current request. /// </summary> ClusterModel Cluster { get; } /// <summary> /// All destinations for the current cluster. /// </summary> IReadOnlyList<DestinationState> AllDestinations { get; } /// <summary> /// Cluster destinations that can handle the current request. This will initially include all destinations except those /// currently marked as unhealthy if health checks are enabled. /// </summary> IReadOnlyList<DestinationState> AvailableDestinations { get; set; } /// <summary> /// The actual destination that the request was proxied to. /// </summary> DestinationState? ProxiedDestination { get; set; } }