Lemmy .NET API Lemmy .NET API
Lemmy .NET API Lemmy .NET API

Search Results for

    Improve this Doc

    Method GetPost

    | Improve this Doc View Source

    GetPost(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.

    Implements
    ILemmyHttpClient.GetPost(GetPostForm, CancellationToken)
    © SlyCedix. All rights reserved.