IHttpHandler
Last updated
Last updated
Http handler interface for cross platform specific implementations.
Clear cached responses from requests called with Post/GetWithCacheAsync.
Make post request with data converted to json asynchronously.
Make post request with data converted to json asynchronously.
Make post request with data converted to json asynchronously. Response is cached based on input (url, data)
Make post request with data converted to json asynchronously. Response is cached based on input (url, data)
Make get request asynchronously.
Make get request asynchronously.
Generic http request sent asynchronously.
Generic http request sent asynchronously.
Upsert response data in the data store.
Calculate request unique hash key.
Convert response to stream.
Convert stream to a string.
public void
()
Clear cached responses from requests called with Post/GetWithCacheAsync.
Make post request with data converted to json asynchronously.
TResponseData
Response type
url
Url to send the request
data
data sent in the body
Response data deserialized to type TResponseData
Make post request with data converted to json asynchronously.
TResponseData
Response type
url
Url to send the request
data
data sent in the body
cancellationToken
Notification that operation should be canceled
Response data deserialized to type TResponseData
Make post request with data converted to json asynchronously. Response is cached based on input (url, data)
TResponseData
Response type
url
Url to send the request
data
data sent in the body
reload
ignore cached value and make a request caching the result
Response data deserialized to type TResponseData
Make post request with data converted to json asynchronously. Response is cached based on input (url, data)
TResponseData
Response type
url
Url to send the request
data
data sent in the body
cancellationToken
Notification that operation should be canceled
reload
ignore cached value and make a request caching the result
Response data deserialized to type TResponseData
Make get request asynchronously.
TResponseData
Response type
url
Url to send the request
Response data deserialized to type TResponseData
Make get request asynchronously.
TResponseData
Response type
url
Url to send the request
cancellationToken
Notification that operation should be canceled
Response data deserialized to type TResponseData
Generic http request sent asynchronously.
request
request body
Stream with response
Generic http request sent asynchronously.
request
request body
///
cancellationToken
Notification that operation should be canceled
Stream with response
Upsert response data in the data store.
TResponseData
response data type
hashKey
data key
responseData
response data
Calculate request unique hash key.
url
Url to send the request
data
data sent in the body
Convert response to stream.
response
response object
Stream with response
Convert stream to a string.
stream
public void
()
public Task< TResponseData >
(string url, object data)
public Task< TResponseData >
(string url, object data, CancellationToken cancellationToken)
public Task< TResponseData >
(string url, object data, bool reload)
public Task< TResponseData >
(string url, object data, CancellationToken cancellationToken, bool reload)
public Task< TResponseData >
(string url)
public Task< TResponseData >
(string url, CancellationToken cancellationToken)
public Task< Stream >
(HttpRequestMessage request)
public Task< Stream >
(HttpRequestMessage request, CancellationToken cancellationToken)
public void
(string hashKey, TResponseData responseData)
public string
(string url, object data)
public Task< Stream >
(HttpResponseMessage response)
public Task< string >
(Stream stream)
public Task< TResponseData >
(string url, object data)
public Task< TResponseData >
(string url, object data, CancellationToken cancellationToken)
public Task< TResponseData >
(string url, object data, bool reload)
public Task< TResponseData >
(string url, object data, CancellationToken cancellationToken, bool reload)
public Task< TResponseData >
(string url)
public Task< TResponseData >
(string url, CancellationToken cancellationToken)
public Task< Stream >
(HttpRequestMessage request)
public Task< Stream >
(HttpRequestMessage request, CancellationToken cancellationToken)
public void
(string hashKey, TResponseData responseData)
public string
(string url, object data)
public Task< Stream >
(HttpResponseMessage response)
public Task< string >
(Stream stream)