C# 클래스 Qiniu.Http.HttpManager

instance of this class can be sahred
파일 보기 프로젝트 열기: qiniu/csharp-sdk 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
COPY_BYTES_BUFFER int
FORM_BOUNDARY_TAG string
FORM_MIME_JSON string
FORM_MIME_OCTECT string
FORM_MIME_URLENCODED string

공개 메소드들

메소드 설명
get ( string pUrl, string>.Dictionary pHeaders, CompletionHandler pCompletionHandler ) : void

get info from remote server

getRaw ( string pUrl, RecvDataHandler pRecvDataHandler ) : void
postData ( string pUrl, string>.Dictionary pHeaders, byte pPostData, int offset, int count, string contentType, CompletionHandler pCompletionHandler ) : void

post binary data to remote server

postData ( string pUrl, string>.Dictionary pHeaders, byte pPostData, string contentType, CompletionHandler pCompletionHandler ) : void

post the binary data to the remote server

postForm ( string pUrl, string>.Dictionary pHeaders, string[]>.Dictionary pPostParams, CompletionHandler pCompletionHandler ) : void

post the url encoded form to remote server

postFormRaw ( string pUrl, string>.Dictionary pHeaders, RecvDataHandler pRecvDataHandler ) : void

post data from raw

postMultipartDataForm ( string pUrl, string>.Dictionary pHeaders, string>.Dictionary pPostParams, HttpFormFile pFormFile, ProgressHandler pProgressHandler, CompletionHandler pCompletionHandler ) : void

post multi-part data form to remote server used to upload file

postMultipartDataRaw ( string pUrl, string>.Dictionary pHeaders, HttpFormFile pFormFile, ProgressHandler pProgressHandler, RecvDataHandler pRecvDataHandler ) : void

post multi-part data form to remote server used to upload file

비공개 메소드들

메소드 설명
createFormDataBoundary ( ) : string
createRandomFilename ( ) : string
getUserAgent ( ) : string
handleErrorWebResponse ( HttpWebResponse pWebResp, CompletionHandler pCompletionHandler, Exception pExp ) : void
handleWebResponse ( HttpWebResponse pWebResp, CompletionHandler pCompletionHandler ) : void
handleWebResponse ( HttpWebResponse pWebResp, RecvDataHandler pRecvDataHandler ) : void
writeHttpRequestBody ( Stream fromStream, Stream toStream ) : void

메소드 상세

get() 공개 메소드

get info from remote server
public get ( string pUrl, string>.Dictionary pHeaders, CompletionHandler pCompletionHandler ) : void
pUrl string
pHeaders string>.Dictionary
pCompletionHandler CompletionHandler
리턴 void

getRaw() 공개 메소드

public getRaw ( string pUrl, RecvDataHandler pRecvDataHandler ) : void
pUrl string
pRecvDataHandler RecvDataHandler
리턴 void

postData() 공개 메소드

post binary data to remote server
public postData ( string pUrl, string>.Dictionary pHeaders, byte pPostData, int offset, int count, string contentType, CompletionHandler pCompletionHandler ) : void
pUrl string
pHeaders string>.Dictionary
pPostData byte
offset int
count int
contentType string
pCompletionHandler CompletionHandler
리턴 void

postData() 공개 메소드

post the binary data to the remote server
public postData ( string pUrl, string>.Dictionary pHeaders, byte pPostData, string contentType, CompletionHandler pCompletionHandler ) : void
pUrl string
pHeaders string>.Dictionary
pPostData byte
contentType string
pCompletionHandler CompletionHandler
리턴 void

postForm() 공개 메소드

post the url encoded form to remote server
public postForm ( string pUrl, string>.Dictionary pHeaders, string[]>.Dictionary pPostParams, CompletionHandler pCompletionHandler ) : void
pUrl string
pHeaders string>.Dictionary
pPostParams string[]>.Dictionary
pCompletionHandler CompletionHandler
리턴 void

postFormRaw() 공개 메소드

post data from raw
public postFormRaw ( string pUrl, string>.Dictionary pHeaders, RecvDataHandler pRecvDataHandler ) : void
pUrl string
pHeaders string>.Dictionary
pRecvDataHandler RecvDataHandler
리턴 void

postMultipartDataForm() 공개 메소드

post multi-part data form to remote server used to upload file
public postMultipartDataForm ( string pUrl, string>.Dictionary pHeaders, string>.Dictionary pPostParams, HttpFormFile pFormFile, ProgressHandler pProgressHandler, CompletionHandler pCompletionHandler ) : void
pUrl string
pHeaders string>.Dictionary
pPostParams string>.Dictionary
pFormFile HttpFormFile
pProgressHandler ProgressHandler
pCompletionHandler CompletionHandler
리턴 void

postMultipartDataRaw() 공개 메소드

post multi-part data form to remote server used to upload file
public postMultipartDataRaw ( string pUrl, string>.Dictionary pHeaders, HttpFormFile pFormFile, ProgressHandler pProgressHandler, RecvDataHandler pRecvDataHandler ) : void
pUrl string
pHeaders string>.Dictionary
pFormFile HttpFormFile
pProgressHandler ProgressHandler
pRecvDataHandler RecvDataHandler
리턴 void

프로퍼티 상세

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

public static int COPY_BYTES_BUFFER
리턴 int

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

public static string FORM_BOUNDARY_TAG
리턴 string

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

public static string FORM_MIME_JSON
리턴 string

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

public static string FORM_MIME_OCTECT
리턴 string

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

public static string FORM_MIME_URLENCODED
리턴 string