C# 클래스 DynamicRest.HTTPInterfaces.HttpWebClientWrappers.HTTPClientRequestWrapper

상속: IHttpRequest
파일 보기 프로젝트 열기: Huddle/dynamicrest

공개 메소드들

메소드 설명
AddCredentials ( ICredentials credentials ) : void
AddHeaders ( WebHeaderCollection headers ) : void
AddRequestBody ( string contentType, string content ) : void
BeginGetResponse ( Action action, object asyncRequest ) : void
EndGetResponse ( object asyncRequest ) : IHttpResponse
GetResponse ( ) : IHttpResponse
HTTPClientRequestWrapper ( HttpClient client ) : System

메소드 상세

AddCredentials() 공개 메소드

public AddCredentials ( ICredentials credentials ) : void
credentials ICredentials
리턴 void

AddHeaders() 공개 메소드

public AddHeaders ( WebHeaderCollection headers ) : void
headers System.Net.WebHeaderCollection
리턴 void

AddRequestBody() 공개 메소드

public AddRequestBody ( string contentType, string content ) : void
contentType string
content string
리턴 void

BeginGetResponse() 공개 메소드

public BeginGetResponse ( Action action, object asyncRequest ) : void
action Action
asyncRequest object
리턴 void

EndGetResponse() 공개 메소드

public EndGetResponse ( object asyncRequest ) : IHttpResponse
asyncRequest object
리턴 IHttpResponse

GetResponse() 공개 메소드

public GetResponse ( ) : IHttpResponse
리턴 IHttpResponse

HTTPClientRequestWrapper() 공개 메소드

public HTTPClientRequestWrapper ( HttpClient client ) : System
client System.Net.Http.HttpClient
리턴 System