C# Class EventStore.Transport.Http.Client.HttpAsyncClient

Inheritance: IHttpClient
Afficher le fichier Open project: EventStore/EventStore Class Usage Examples

Méthodes publiques

Méthode Description
Delete ( string url, Action onSuccess, Action onException ) : void
Get ( string url, Action onSuccess, Action onException ) : void
Get ( string url, string>.IEnumerable headers, Action onSuccess, Action onException ) : void
HttpAsyncClient ( System.TimeSpan timeout ) : System
Post ( string url, string body, string contentType, Action onSuccess, Action onException ) : void
Post ( string url, string body, string contentType, string>.IEnumerable headers, Action onSuccess, Action onException ) : void
Put ( string url, string body, string contentType, Action onSuccess, Action onException ) : void

Private Methods

Méthode Description
HttpAsyncClient ( ) : System
Receive ( string method, string url, string>.IEnumerable headers, Action onSuccess, Action onException ) : void
RequestSent ( EventStore.Transport.Http.Client.ClientOperationState state ) : Action>
ResponseRead ( EventStore.Transport.Http.Client.ClientOperationState state ) : Action>
Send ( string method, string url, string body, string contentType, string>.IEnumerable headers, Action onSuccess, Action onException ) : void

Method Details

Delete() public méthode

public Delete ( string url, Action onSuccess, Action onException ) : void
url string
onSuccess Action
onException Action
Résultat void

Get() public méthode

public Get ( string url, Action onSuccess, Action onException ) : void
url string
onSuccess Action
onException Action
Résultat void

Get() public méthode

public Get ( string url, string>.IEnumerable headers, Action onSuccess, Action onException ) : void
url string
headers string>.IEnumerable
onSuccess Action
onException Action
Résultat void

HttpAsyncClient() public méthode

public HttpAsyncClient ( System.TimeSpan timeout ) : System
timeout System.TimeSpan
Résultat System

Post() public méthode

public Post ( string url, string body, string contentType, Action onSuccess, Action onException ) : void
url string
body string
contentType string
onSuccess Action
onException Action
Résultat void

Post() public méthode

public Post ( string url, string body, string contentType, string>.IEnumerable headers, Action onSuccess, Action onException ) : void
url string
body string
contentType string
headers string>.IEnumerable
onSuccess Action
onException Action
Résultat void

Put() public méthode

public Put ( string url, string body, string contentType, Action onSuccess, Action onException ) : void
url string
body string
contentType string
onSuccess Action
onException Action
Résultat void