C# 클래스 Common.HttpCompress.CompressingFilter

Base for any HttpFilter that performing compression
When implementing this class, you need to implement a HttpOutputFilter along with a CompressingFilter.ContentEncoding. The latter corresponds to a content coding (see http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.5) that your implementation will support.
상속: HttpOutputFilter
파일 보기 프로젝트 열기: rabbal/Mvc5

보호된 메소드들

메소드 설명
CompressingFilter ( Stream baseStream, CompressionLevels compressionLevel ) : System.IO

Protected constructor that sets up the underlying stream we're compressing into

WriteHeaders ( ) : void

Writes out the compression-related headers. Subclasses should call this once before writing to the output stream.

메소드 상세

CompressingFilter() 보호된 메소드

Protected constructor that sets up the underlying stream we're compressing into
protected CompressingFilter ( Stream baseStream, CompressionLevels compressionLevel ) : System.IO
baseStream System.IO.Stream The stream we're wrapping up
compressionLevel CompressionLevels The level of compression to use when compressing the content
리턴 System.IO

WriteHeaders() 보호된 메소드

Writes out the compression-related headers. Subclasses should call this once before writing to the output stream.
protected WriteHeaders ( ) : void
리턴 void