Class ResponseMeta
The metadata for the response returned from an API call.
Inherited Members
Namespace: Unity.Services.Relay.Models
Syntax
[Preserve]
public class ResponseMeta
Constructors
ResponseMeta(String, Int32)
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. |
| Int32 | status | Indicates the HTTP status code of the response. |
Properties
RequestId
The unique ID of the request that triggered this response.
Declaration
[Preserve]
public string RequestId { get; }
Property Value
| Type | Description |
|---|---|
| String |
Status
Indicates the HTTP status code of the response.
Declaration
[Preserve]
public int Status { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |