Class RestResponse

    Definition

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

    Represents the response from a REST API call, containing information such as status, content, and potential error messages.

    public class RestResponse
    Inheritance
    object
    RestResponse

    Properties

    View Source

    Content

    The content of the response as a string, typically containing the body of the HTTP response.

    Declaration
    public string Content { get; set; }
    Property Value
    Type Description
    string
    View Source

    ErrorMessage

    The error message if the request failed, providing details about what went wrong.

    Declaration
    public string ErrorMessage { get; set; }
    Property Value
    Type Description
    string
    View Source

    IsSuccessful

    Indicates whether the request was successful.

    Declaration
    public bool IsSuccessful { get; set; }
    Property Value
    Type Description
    bool
    View Source

    RawBytes

    The raw bytes of the response, which can be useful for handling non-text data or binary responses.

    Declaration
    public byte[] RawBytes { get; set; }
    Property Value
    Type Description
    byte[]
    View Source

    StatusCode

    The HTTP status code returned by the server, providing information about the response status.

    Declaration
    public HttpStatusCode StatusCode { get; set; }
    Property Value
    Type Description
    HttpStatusCode

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX