C# 클래스 HttpServer.FormDecoders.UrlDecoder

Can handle application/x-www-form-urlencoded
상속: IFormDecoder
파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs 1 사용 예제들

공개 메소드들

메소드 설명
CanParse ( string contentType ) : bool

Checks if the decoder can handle the mime type

Decode ( Stream stream, string contentType, Encoding encoding ) : HttpForm

메소드 상세

CanParse() 공개 메소드

Checks if the decoder can handle the mime type
public CanParse ( string contentType ) : bool
contentType string Content type (with any additional info like boundry). Content type is always supplied in lower case.
리턴 bool

Decode() 공개 메소드

If contents in the stream is not valid input data.
public Decode ( Stream stream, string contentType, Encoding encoding ) : HttpForm
stream Stream Stream containing the content
contentType string Content type (with any additional info like boundry). Content type is always supplied in lower case
encoding System.Text.Encoding Stream enconding
리턴 HttpForm