using System; using System.Collections.Generic; using Unity.Services.Lobbies.Http; namespace Unity.Services.Lobbies { 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; } } }