Skip to content

Commit 961c6a2

Browse files
committed
refactor(web): 将 WebData 基类改为 private
WebData 仅供内部 WebBinaryData / WebJsonData 继承, 改为 private 防止外部通过 ReferencePool 误创建裸实例。 同步简化属性 XML 注释。 GameFrameX/com.gameframex.unity#5
1 parent e38487e commit 961c6a2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Runtime/Web/WebManager.WebData.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ public partial class WebManager
77
/// <summary>
88
/// Web请求数据的基类,包含请求的基本信息
99
/// </summary>
10-
public class WebData : IReference
10+
private class WebData : IReference
1111
{
1212
/// <summary>
13-
/// 获取用户自定义数据
13+
/// 用户自定义数据
1414
/// </summary>
1515
public object UserData { get; protected set; }
1616

1717
/// <summary>
18-
/// 获取是否为GET请求
18+
/// 是否为GET请求
1919
/// </summary>
2020
public bool IsGet { get; protected set; }
2121

2222
/// <summary>
23-
/// 获取请求URL
23+
/// 请求URL
2424
/// </summary>
2525
public string URL { get; protected set; }
2626

0 commit comments

Comments
 (0)