您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

27 行
660 B

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