Method SavePost
| Improve this Doc View SourceSavePost(SavePostForm, CancellationToken)
Saves a post.
Declaration
public Task<PostResponse> SavePost(SavePostForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
SavePostForm | form | The form to send for saving a post. |
CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
Type | Description |
---|---|
Task<PostResponse> | The task object representing the asynchronous operation. The task result contains the response after saving the post. |