Skip to content

Commit c45dd4b

Browse files
author
fengyunhai
committed
新增:接收非JSON格式数据委托
1 parent 7ca7378 commit c45dd4b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Qiniu/Http/CompletionHandler.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,12 @@ namespace Qiniu.Http
77
/// <param name="respInfo">请求回复信息</param>
88
/// <param name="response">请求回复内容</param>
99
public delegate void CompletionHandler(ResponseInfo respInfo, string response);
10+
11+
/// <summary>
12+
/// HTTP请求结果(非json/二进制数据)
13+
/// </summary>
14+
/// <param name="respInfo"></param>
15+
/// <param name="respData"></param>
16+
public delegate void RecvDataHandler(ResponseInfo respInfo, byte[] respData);
17+
1018
}

0 commit comments

Comments
 (0)