Interface IRestClient

    Definition

    Namespace:
    Tizen.AIAvatar
    Assembly:
    Tizen.AIAvatar.dll

    Interface for making REST API calls, providing functionality to execute HTTP requests and receive responses.

    public interface IRestClient : IDisposable

    Methods

    View Source

    ExecuteAsync(RestRequest)

    Executes a REST request asynchronously and returns the response from the server.

    Declaration
    Task<RestResponse> ExecuteAsync(RestRequest request)
    Parameters
    Type Name Description
    RestRequest request

    The REST request to execute, containing information such as endpoint, headers, and parameters.

    Returns
    Type Description
    Task<><RestResponse>

    A task representing the asynchronous operation, which returns the REST response containing status, content, and any errors.

    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX