C# 클래스 Gallatin.Filter.MimeTypeFilter

상속: IResponseFilter
파일 보기 프로젝트 열기: williamoneill/Gallatin

공개 메소드들

메소드 설명
EvaluateFilter ( IHttpResponse response, string connectionId, Func &bodyAvailableCallback ) : string

Evaluates the HTTP header to determine if the response contains a banned MIME type

비공개 메소드들

메소드 설명
MimeTypeFilter ( ISettingsFileLoader loader ) : System

메소드 상세

EvaluateFilter() 공개 메소드

Evaluates the HTTP header to determine if the response contains a banned MIME type
public EvaluateFilter ( IHttpResponse response, string connectionId, Func &bodyAvailableCallback ) : string
response IHttpResponse HTTP response
connectionId string Client connection ID
bodyAvailableCallback Func Always null
리턴 string