Submits a request to the API client. This allows you to incorporate data from the execution context in your request.
- Namespace
- Statiq
.Core - Containing Type
- ReadApi
<TClient>
Syntax
public ReadApi<TClient> WithRequest(Func<IExecutionContext, TClient, IEnumerable<KeyValuePair<string, object>>> request)
Parameters
Name | Type | Description |
---|---|---|
request | Func |
A function with the request to make. |