using System; using System.Collections.Generic; using Unity.Services.Relay.Http; namespace Unity.Services.Relay { public class Response { public Dictionary Headers { get; } public long Status { get; set; } public Response(HttpClientResponse httpResponse) { this.Headers = httpResponse.Headers; this.Status = httpResponse.StatusCode; } } public class Response : Response { public T Result { get; } public Response(HttpClientResponse httpResponse, T result): base(httpResponse) { this.Result = result; } } }