Summary
Send custom requests
- Namespace
- OpenTl
.ClientApi .Services .Interfaces - Containing Type
- I
Custom Requests Service
Syntax
Task<TResult> SendRequestAsync<TResult>(IRequest<TResult> request, CancellationToken cancellationToken = default(CancellationToken))
Type Parameters
Name | Description |
---|---|
TResult | Request result type |
Parameters
Name | Type | Description |
---|---|---|
request | IRequest |
Request |
cancellationToken | CancellationToken | Cancellation token |
Return Value
Type | Description |
---|---|
Task |
Result |