C# Класс EventStore.ClientAPI.Transport.Http.HttpAsyncClient

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Delete() публичный Метод

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
Результат void

Get() публичный Метод

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
Результат void

HttpAsyncClient() публичный Метод

public HttpAsyncClient ( System.TimeSpan timeout ) : System
timeout System.TimeSpan
Результат System

Post() публичный Метод

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
Результат void

Put() публичный Метод

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
Результат void