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