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

Search Results for

    Improve this Doc

    Method GetPosts

    | Improve this Doc View Source

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

    © SlyCedix. All rights reserved.