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

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

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

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

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

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

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

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

public Delete ( string url, Action onSuccess, Action onException ) : void
url string
onSuccess Action
onException Action
Результат void

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

public Get ( string url, Action onSuccess, Action onException ) : void
url string
onSuccess Action
onException Action
Результат void

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

public Get ( string url, string>.IEnumerable headers, Action onSuccess, Action onException ) : void
url string
headers string>.IEnumerable
onSuccess Action
onException Action
Результат void

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

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

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

public Post ( string url, string body, string contentType, Action onSuccess, Action onException ) : void
url string
body string
contentType string
onSuccess Action
onException Action
Результат void

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

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

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

public Put ( string url, string body, string contentType, Action onSuccess, Action onException ) : void
url string
body string
contentType string
onSuccess Action
onException Action
Результат void