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

HttpJsonRpcOptionSetAllowJsonRpc(FuncIHttpSessionClient, HttpContext, Boolean) 方法

设置允许JsonRpc的委托。

Definition

命名空间: TouchSocket.JsonRpc
程序集: TouchSocket.JsonRpc (在 TouchSocket.JsonRpc.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public void SetAllowJsonRpc(
	Func<IHttpSessionClient, HttpContext, bool> allowJsonRpc
)

参数

allowJsonRpc  FuncIHttpSessionClient, HttpContext, Boolean
允许JsonRpc的委托

参见