C# 클래스 SumoNinjaMonkey.Services.Networking.Http

파일 보기 프로젝트 열기: liquidboy/X

공개 메소드들

메소드 설명
AbortAllRequests ( ) : void
AbortRequests ( bool>.Func abortPredicate ) : void
Get ( HttpGetRequest req, Action action ) : HttpResponse
Get ( string uri, Action action ) : HttpResponse
GetAsync ( HttpGetRequest request ) : Task
GetAsync ( string url ) : Task
Post ( HttpPostRequest req, Action action ) : HttpResponse
Post ( string uri, Action action ) : HttpResponse
PostAsync ( HttpPostRequest request ) : Task
PostAsync ( string url ) : Task

비공개 메소드들

메소드 설명
CreateRequest ( HttpGetRequest req ) : HttpWebRequest
GetQueryString ( string>.Dictionary query ) : string
ProcessResponse ( IAsyncResult asyncResult, WebRequest request, HttpResponse resp, Action action ) : void
WritePostData ( Stream stream, HttpPostRequest request ) : void
WritePostData ( Stream stream, string boundary, HttpPostRequest request ) : void

메소드 상세

AbortAllRequests() 공개 정적인 메소드

public static AbortAllRequests ( ) : void
리턴 void

AbortRequests() 공개 정적인 메소드

public static AbortRequests ( bool>.Func abortPredicate ) : void
abortPredicate bool>.Func
리턴 void

Get() 공개 정적인 메소드

public static Get ( HttpGetRequest req, Action action ) : HttpResponse
req HttpGetRequest
action Action
리턴 HttpResponse

Get() 공개 정적인 메소드

public static Get ( string uri, Action action ) : HttpResponse
uri string
action Action
리턴 HttpResponse

GetAsync() 공개 정적인 메소드

public static GetAsync ( HttpGetRequest request ) : Task
request HttpGetRequest
리턴 Task

GetAsync() 공개 정적인 메소드

public static GetAsync ( string url ) : Task
url string
리턴 Task

Post() 공개 정적인 메소드

public static Post ( HttpPostRequest req, Action action ) : HttpResponse
req HttpPostRequest
action Action
리턴 HttpResponse

Post() 공개 정적인 메소드

public static Post ( string uri, Action action ) : HttpResponse
uri string
action Action
리턴 HttpResponse

PostAsync() 공개 정적인 메소드

public static PostAsync ( HttpPostRequest request ) : Task
request HttpPostRequest
리턴 Task

PostAsync() 공개 정적인 메소드

public static PostAsync ( string url ) : Task
url string
리턴 Task