一款简单易用的基础网络通讯组件库。

JsonRpcParserPluginBaseResponseAsync 方法

处理响应结果。

Definition

命名空间: TouchSocket.JsonRpc
程序集: TouchSocket.JsonRpc (在 TouchSocket.JsonRpc.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
protected abstract Task ResponseAsync(
	JsonRpcCallContextBase callContext,
	Object result,
	JsonRpcError error
)

参数

callContext  JsonRpcCallContextBase

[缺少 "M:TouchSocket.JsonRpc.JsonRpcParserPluginBase.ResponseAsync(TouchSocket.JsonRpc.JsonRpcCallContextBase,System.Object,TouchSocket.JsonRpc.JsonRpcError)" 的 <param name="callContext"/> 文档]

result  Object

[缺少 "M:TouchSocket.JsonRpc.JsonRpcParserPluginBase.ResponseAsync(TouchSocket.JsonRpc.JsonRpcCallContextBase,System.Object,TouchSocket.JsonRpc.JsonRpcError)" 的 <param name="result"/> 文档]

error  JsonRpcError

[缺少 "M:TouchSocket.JsonRpc.JsonRpcParserPluginBase.ResponseAsync(TouchSocket.JsonRpc.JsonRpcCallContextBase,System.Object,TouchSocket.JsonRpc.JsonRpcError)" 的 <param name="error"/> 文档]

返回值

Task

[缺少 "M:TouchSocket.JsonRpc.JsonRpcParserPluginBase.ResponseAsync(TouchSocket.JsonRpc.JsonRpcCallContextBase,System.Object,TouchSocket.JsonRpc.JsonRpcError)" 的 <returns> 文档]

参见