C# Class MALClient.XShared.Comm.MagicalRawQueries.CsrfHttpClient

Client wrapped with token.
Inheritance: System.Net.Http.HttpClient
Afficher le fichier Open project: Mordonus/MALClient Class Usage Examples

Méthodes publiques

Méthode Description
CsrfHttpClient ( HttpClientHandler handler ) : System
ExpiredDispose ( ) : void
GetAsync ( string uri ) : Task
GetToken ( ) : System.Threading.Tasks.Task
PostAsync ( string uri, HttpContent content ) : Task

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

CsrfHttpClient() public méthode

public CsrfHttpClient ( HttpClientHandler handler ) : System
handler System.Net.Http.HttpClientHandler
Résultat System

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

ExpiredDispose() public méthode

public ExpiredDispose ( ) : void
Résultat void

GetAsync() public méthode

public GetAsync ( string uri ) : Task
uri string
Résultat Task

GetToken() public méthode

public GetToken ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

PostAsync() public méthode

public PostAsync ( string uri, HttpContent content ) : Task
uri string
content System.Net.Http.HttpContent
Résultat Task