C# 클래스 HttpServer.HttpRequest

파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
UriSplitters char[]

공개 메소드들

메소드 설명
AddHeader ( string name, string value ) : void

Called during parsing of a IHttpRequest.

AddToBody ( byte bytes, int offset, int length ) : int

Add bytes to the body

Clear ( ) : void

Clear everything in the request

Clone ( ) : object

Creates a new object that is a copy of the current instance.

DecodeBody ( FormDecoderProvider providers ) : void

Decode body into a form.

SetCookies ( RequestCookies cookies ) : void

Cookies

비공개 메소드들

메소드 설명
AssignForm ( HttpForm form ) : void

Assign a form.

ShouldReplyTo100Continue ( ) : bool

메소드 상세

AddHeader() 공개 메소드

Called during parsing of a IHttpRequest.
If a header is incorrect.
public AddHeader ( string name, string value ) : void
name string Name of the header, should not be url encoded
value string Value of the header, should not be url encoded
리턴 void

AddToBody() 공개 메소드

Add bytes to the body
If body is not writable
public AddToBody ( byte bytes, int offset, int length ) : int
bytes byte buffer to read bytes from
offset int where to start read
length int number of bytes to read
리턴 int

Clear() 공개 메소드

Clear everything in the request
public Clear ( ) : void
리턴 void

Clone() 공개 메소드

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
리턴 object

DecodeBody() 공개 메소드

Decode body into a form.
If body contents is not valid for the chosen decoder. If body is still being transferred.
public DecodeBody ( FormDecoderProvider providers ) : void
providers FormDecoderProvider A list with form decoders.
리턴 void

SetCookies() 공개 메소드

Cookies
public SetCookies ( RequestCookies cookies ) : void
cookies RequestCookies the cookies
리턴 void

프로퍼티 상세

UriSplitters 공개적으로 정적으로 프로퍼티

Chars used to split an url path into multiple parts.
public static char[] UriSplitters
리턴 char[]