C# 클래스 logv.http.RequestExtensions

Helper class with HttpListenerRequest Extension methods
파일 보기 프로젝트 열기: coolya/logv.http

공개 메소드들

메소드 설명
Content ( this req ) : string

Reads the content the specified req.

Dump ( this req ) : string

Dumps the specified req.

DumpHeader ( this req ) : string

Dumps the header.

GetAcceptCharset ( this req ) : Encoding

Gets the accept charset.

GetAcceptEncoding ( this req ) : EncodingType

Gets the accept encoding from the header

GetCompressedResponse ( this req, IServerResponse res ) : IServerResponse

Gets a proxy Response according to the Accept-Encoding header

GetEncoding ( this req ) : Encoding

Gets the encoding. Currently a placeholder that does only return UTF8

비공개 메소드들

메소드 설명
GetEncodingFromHeader ( string value ) : Encoding

메소드 상세

Content() 공개 정적인 메소드

Reads the content the specified req.
public static Content ( this req ) : string
req this The req.
리턴 string

Dump() 공개 정적인 메소드

Dumps the specified req.
public static Dump ( this req ) : string
req this The req.
리턴 string

DumpHeader() 공개 정적인 메소드

Dumps the header.
public static DumpHeader ( this req ) : string
req this The req.
리턴 string

GetAcceptCharset() 공개 정적인 메소드

Gets the accept charset.
public static GetAcceptCharset ( this req ) : Encoding
req this The req.
리턴 System.Text.Encoding

GetAcceptEncoding() 공개 정적인 메소드

Gets the accept encoding from the header
public static GetAcceptEncoding ( this req ) : EncodingType
req this The req.
리턴 EncodingType

GetCompressedResponse() 공개 정적인 메소드

Gets a proxy Response according to the Accept-Encoding header
public static GetCompressedResponse ( this req, IServerResponse res ) : IServerResponse
req this The req.
res IServerResponse The res.
리턴 IServerResponse

GetEncoding() 공개 정적인 메소드

Gets the encoding. Currently a placeholder that does only return UTF8
public static GetEncoding ( this req ) : Encoding
req this The req.
리턴 System.Text.Encoding