C# 클래스 MALClient.XShared.Comm.MagicalRawQueries.CsrfHttpClient

Client wrapped with token.
상속: System.Net.Http.HttpClient
파일 보기 프로젝트 열기: Mordonus/MALClient 1 사용 예제들

공개 메소드들

메소드 설명
CsrfHttpClient ( HttpClientHandler handler ) : System
ExpiredDispose ( ) : void
GetAsync ( string uri ) : Task
GetToken ( ) : System.Threading.Tasks.Task
PostAsync ( string uri, HttpContent content ) : Task

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

CsrfHttpClient() 공개 메소드

public CsrfHttpClient ( HttpClientHandler handler ) : System
handler System.Net.Http.HttpClientHandler
리턴 System

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

ExpiredDispose() 공개 메소드

public ExpiredDispose ( ) : void
리턴 void

GetAsync() 공개 메소드

public GetAsync ( string uri ) : Task
uri string
리턴 Task

GetToken() 공개 메소드

public GetToken ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

PostAsync() 공개 메소드

public PostAsync ( string uri, HttpContent content ) : Task
uri string
content System.Net.Http.HttpContent
리턴 Task