Interface IActionCallBuilder<TResp>
- Namespace
- Phoesion.Glow.SDK.Firefly
- Assembly
- Phoesion.Glow.SDK.Firefly.Abstractions.dll
public interface IActionCallBuilder<TResp> : IActionCallBuilder
Type Parameters
TResp
- Inherited Members
-
Methods
AllowedResultTypes(ISet<Type>)
IActionCallBuilder<TResp?> AllowedResultTypes(ISet<Type> types)
Parameters
types
ISet<Type>
Returns
- IActionCallBuilder<TResp>
GetAwaiter()
TaskAwaiter<TResp> GetAwaiter()
Returns
- TaskAwaiter<TResp>
IgnoreRemoteExceptions()
IActionCallBuilder<TResp?> IgnoreRemoteExceptions()
Returns
- IActionCallBuilder<TResp>
IncludeRemoteExceptions()
IActionCallBuilder<TResp?> IncludeRemoteExceptions()
Returns
- IActionCallBuilder<TResp>
IncludeRemoteExceptions(bool)
IActionCallBuilder<TResp?> IncludeRemoteExceptions(bool includeExceptions)
Parameters
includeExceptions
bool
Returns
- IActionCallBuilder<TResp>
InvokeAsync()
Task<TResp?> InvokeAsync()
Returns
- Task<TResp>
OnRemoteException(Action<IPhotonException>?)
IActionCallBuilder<TResp?> OnRemoteException(Action<IPhotonException>? handler)
Parameters
handler
Action<IPhotonException>
Returns
- IActionCallBuilder<TResp>
WithCancellationToken(CancellationToken)
IActionCallBuilder<TResp?> WithCancellationToken(CancellationToken token)
Parameters
token
CancellationToken
Returns
- IActionCallBuilder<TResp>
IActionCallBuilder<TResp?> WithHeader(string key, StringValues value)
Parameters
key
string
value
StringValues
Returns
- IActionCallBuilder<TResp>
IActionCallBuilder<TResp?> WithHeaders(IEnumerable<KeyValuePair<string, StringValues>> items)
Parameters
items
IEnumerable<KeyValuePair<string, StringValues>>
Returns
- IActionCallBuilder<TResp>
WithProgressReportCB(InteropProgressReportCallbackDelegate)
IActionCallBuilder<TResp?> WithProgressReportCB(InteropProgressReportCallbackDelegate callback)
Parameters
callback
InteropProgressReportCallbackDelegate
Returns
- IActionCallBuilder<TResp>
WithResiliencePolicy(IAsyncPolicy<TResp?>)
IActionCallBuilder<TResp?> WithResiliencePolicy(IAsyncPolicy<TResp?> policy)
Parameters
policy
IAsyncPolicy<TResp>
Returns
- IActionCallBuilder<TResp>
WithResponseCacheTimeout(TimeSpan?, string)
IActionCallBuilder<TResp?> WithResponseCacheTimeout(TimeSpan? timeout, string requestCacheKey)
Parameters
timeout
TimeSpan?
requestCacheKey
string
Returns
- IActionCallBuilder<TResp>
WithServiceTag<TTag>(string)
IActionCallBuilder<TResp?> WithServiceTag<TTag>(string value) where TTag : ServiceTagAttribute
Parameters
value
string
Returns
- IActionCallBuilder<TResp>
Type Parameters
TTag
WithTimeout(TimeSpan?)
IActionCallBuilder<TResp?> WithTimeout(TimeSpan? timeout)
Parameters
timeout
TimeSpan?
Returns
- IActionCallBuilder<TResp>