Method GetPosts
| Improve this Doc View SourceGetPosts(GetPostsForm, CancellationToken)
Gets posts.
Declaration
Task<GetPostsResponse> GetPosts(GetPostsForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetPostsForm | form | The form to send for retrieving posts. |
CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
Type | Description |
---|---|
Task<GetPostsResponse> | The task object representing the asynchronous operation. The task result contains the response with the retrieved posts. |