你的位置: 码友网首页 / 资讯源列表 / Server-To-Client RPC with Response in ASP.NET Core SignalR

关于[Server-To-Client RPC with Response in ASP.NET Core SignalR]的摘要:

When using ASP.NET Core SignalR, we can perform invocations which don't return anything, invocations which return a result, and invocations which results in a stream of results. Unfortunately, invocations which return a result or a stream of results are available only when invoking server from a client. If a server wants to invoke a client, the only option is invocation which doesn't return anything. ASP.NET Core SignalR is supposed to bring streaming from client to server but again only as part of an invocation from client to a server. Sometimes there are scenarios where we would like a client to be able to respond to invocation - a server-to-client remote procedure call (RPC) with a result.

原文地址: https://www.tpeczek.com/2019/03/server-to-client-rpc-calls-with-results.html

收录时间: 2019-03-20 浏览量: 2447 分类: ASP.NET Core

| 0 收藏 | 0