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

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

Méthodes publiques

Méthode Description
Delete ( string url, EventStore.ClientAPI.SystemData.UserCredentials userCredentials, Action onSuccess, Action onException ) : void
Get ( string url, EventStore.ClientAPI.SystemData.UserCredentials userCredentials, Action onSuccess, Action onException, string hostHeader = "" ) : void
HttpAsyncClient ( System.TimeSpan timeout ) : System
Post ( string url, string body, string contentType, EventStore.ClientAPI.SystemData.UserCredentials userCredentials, Action onSuccess, Action onException ) : void
Put ( string url, string body, string contentType, EventStore.ClientAPI.SystemData.UserCredentials userCredentials, Action onSuccess, Action onException ) : void

Private Methods

Méthode Description
AddAuthenticationHeader ( HttpRequestMessage request, EventStore.ClientAPI.SystemData.UserCredentials userCredentials ) : void
HttpAsyncClient ( ) : System
Receive ( string method, string url, EventStore.ClientAPI.SystemData.UserCredentials userCredentials, Action onSuccess, Action onException, string hostHeader = "" ) : void
RequestSent ( EventStore.ClientAPI.Transport.Http.ClientOperationState state ) : Action>
ResponseRead ( EventStore.ClientAPI.Transport.Http.ClientOperationState state ) : Action>
Send ( string method, string url, string body, string contentType, EventStore.ClientAPI.SystemData.UserCredentials userCredentials, Action onSuccess, Action onException ) : void

Method Details

Delete() public méthode

public Delete ( string url, EventStore.ClientAPI.SystemData.UserCredentials userCredentials, Action onSuccess, Action onException ) : void
url string
userCredentials EventStore.ClientAPI.SystemData.UserCredentials
onSuccess Action
onException Action
Résultat void

Get() public méthode

public Get ( string url, EventStore.ClientAPI.SystemData.UserCredentials userCredentials, Action onSuccess, Action onException, string hostHeader = "" ) : void
url string
userCredentials EventStore.ClientAPI.SystemData.UserCredentials
onSuccess Action
onException Action
hostHeader string
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, EventStore.ClientAPI.SystemData.UserCredentials userCredentials, Action onSuccess, Action onException ) : void
url string
body string
contentType string
userCredentials EventStore.ClientAPI.SystemData.UserCredentials
onSuccess Action
onException Action
Résultat void

Put() public méthode

public Put ( string url, string body, string contentType, EventStore.ClientAPI.SystemData.UserCredentials userCredentials, Action onSuccess, Action onException ) : void
url string
body string
contentType string
userCredentials EventStore.ClientAPI.SystemData.UserCredentials
onSuccess Action
onException Action
Résultat void