C# Класс LinkCrawler.Utils.Extensions.HttpStatusCodeExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
IsSuccess ( this @this, string configuredCodes ) : bool

This method will determine if an HttpStatusCode represents a "success" or not based on the configuration string you pass in. You can pass literal codes like 100, 200, 404 Or you can pass in simple patterns using "x"s as wildcards like: 1xx, xx4

Приватные методы

Метод Описание
ToRegex ( string s ) : string

Описание методов

IsSuccess() публичный статический Метод

This method will determine if an HttpStatusCode represents a "success" or not based on the configuration string you pass in. You can pass literal codes like 100, 200, 404 Or you can pass in simple patterns using "x"s as wildcards like: 1xx, xx4
public static IsSuccess ( this @this, string configuredCodes ) : bool
@this this
configuredCodes string CSV of HttpStatus codes
Результат bool