docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ResponseMeta

    The metadata for the response returned from an API call.

    Inheritance
    object
    ResponseMeta
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Relay.Models
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    [Preserve]
    [DataContract(Name = "ResponseMeta")]
    public class ResponseMeta

    Constructors

    ResponseMeta(string, int)

    The metadata for the response returned from an API call.

    Declaration
    [Preserve]
    public ResponseMeta(string requestId, int status)
    Parameters
    Type Name Description
    string requestId

    The unique ID of the request that triggered this response.

    int status

    Indicates the HTTP status code of the response.

    Properties

    RequestId

    The unique ID of the request that triggered this response.

    Declaration
    [Preserve]
    [DataMember(Name = "requestId", IsRequired = true, EmitDefaultValue = true)]
    public string RequestId { get; }
    Property Value
    Type Description
    string

    Status

    Indicates the HTTP status code of the response.

    Declaration
    [Preserve]
    [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
    public int Status { get; }
    Property Value
    Type Description
    int
    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)