C# 클래스 LinkCrawler.Utils.Extensions.HttpStatusCodeExtensions

파일 보기 프로젝트 열기: hmol/LinkCrawler

공개 메소드들

메소드 설명
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