Method CreatePost
| Improve this Doc View SourceCreatePost(CreatePostForm, CancellationToken)
Creates a new post.
Declaration
Task<PostResponse> CreatePost(CreatePostForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CreatePostForm | form | The form to send for creating 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 creating a post. |