/
aprogrammer
/
reverse-proxy-ms-yarp
Обзор
Документация
Войти
/
aprogrammer
/
reverse-proxy-ms-yarp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/ReverseProxy/Transforms/ResponseCondition.cs
25 строк
644 B
Kahbazi
File Scoped Namespaces (#1352)
12 ноя 2021, 21:53
Не верифицирован
12 ноя 2021, 21:53
44f13d9
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace Yarp.ReverseProxy.Transforms; /// <summary> /// Specifies the conditions under which a response transform will run. /// </summary> public enum ResponseCondition { /// <summary> /// The transform runs for all conditions. /// </summary> Always, /// <summary> /// The transform only runs if there is a successful response with a status code less than 400. /// </summary> Success, /// <summary> /// The transform only runs if there is no response or a response with a 400+ status code. /// </summary> Failure }