Submits a request to the YouTube client. This allows you to incorporate data from the execution context in your request.
- Namespace
- Statiq
.YouTube - Containing Type
- ReadYouTube
Syntax
public ReadYouTube WithRequest(string key, Func<IExecutionContext, YouTubeService, object> request)
Parameters
| Name | Type | Description |
|---|---|---|
| key | string | The metadata key in which to store the return value of the request function. |
| request | Func |
A function with the request to make. |
Return Value
| Type | Description |
|---|---|
| ReadYouTube | The current module instance. |