docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IApiResponse

    Provides a non-generic contract for the ApiResponse wrapper.

    Namespace: Unity.Muse.Behavior.WebApi.Client
    Assembly: Unity.Muse.Behavior.WebApi.dll
    Syntax
    public interface IApiResponse

    Properties

    Content

    The content of this response

    Declaration
    object Content { get; }
    Property Value
    Type Description
    object

    Cookies

    Gets or sets any cookies passed along on the response.

    Declaration
    List<Cookie> Cookies { get; set; }
    Property Value
    Type Description
    List<Cookie>

    ErrorText

    Gets or sets any error text defined by the calling client.

    Declaration
    string ErrorText { get; set; }
    Property Value
    Type Description
    string

    Headers

    Gets or sets the HTTP headers

    Declaration
    Multimap<string, string> Headers { get; }
    Property Value
    Type Description
    Multimap<string, string>

    HTTP headers

    RawContent

    The raw content of this response

    Declaration
    string RawContent { get; }
    Property Value
    Type Description
    string

    ResponseType

    The data type of Content

    Declaration
    Type ResponseType { get; }
    Property Value
    Type Description
    Type

    StatusCode

    Gets or sets the status code (HTTP status code)

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

    The status code.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)