Class ResponseMeta
The metadata for the response returned from an API call.
Inherited Members
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 |