You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
39 KiB
JavaScript

1 year ago
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[6931],{6416:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>c,metadata:()=>t,toc:()=>o});var r=s(5893),i=s(1151);const c={id:"signalr",title:"24. \u5373\u65f6\u901a\u8baf",sidebar_label:"24. \u5373\u65f6\u901a\u8baf"},l=void 0,t={id:"signalr",title:"24. \u5373\u65f6\u901a\u8baf",description:"24.1 \u4ec0\u4e48\u662f\u5373\u65f6\u901a\u8baf",source:"@site/docs/signalr.mdx",sourceDirName:".",slug:"/signalr",permalink:"/docs/signalr",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/signalr.mdx",tags:[],version:"current",lastUpdatedBy:"MonkSoul",lastUpdatedAt:1681868361,formattedLastUpdatedAt:"Apr 19, 2023",frontMatter:{id:"signalr",title:"24. \u5373\u65f6\u901a\u8baf",sidebar_label:"24. \u5373\u65f6\u901a\u8baf"},sidebar:"docs",previous:{title:"23. JSON \u5e8f\u5217\u5316",permalink:"/docs/json-serialization"},next:{title:"25. \u8f85\u52a9\u89d2\u8272\u670d\u52a1 (Worker Service)",permalink:"/docs/process-service"}},d={},o=[{value:"24.1 \u4ec0\u4e48\u662f\u5373\u65f6\u901a\u8baf",id:"241-\u4ec0\u4e48\u662f\u5373\u65f6\u901a\u8baf",level:2},{value:"24.2 \u5373\u65f6\u901a\u8baf\u5e94\u7528\u573a\u666f",id:"242-\u5373\u65f6\u901a\u8baf\u5e94\u7528\u573a\u666f",level:2},{value:"24.3 \u5173\u4e8e <code>SignalR</code>",id:"243-\u5173\u4e8e-signalr",level:2},{value:"24.3.1 \u5fae\u8f6f\u5b98\u65b9\u4ecb\u7ecd",id:"2431-\u5fae\u8f6f\u5b98\u65b9\u4ecb\u7ecd",level:3},{value:"24.4 \u6ce8\u518c <code>SignalR</code> \u670d\u52a1",id:"244-\u6ce8\u518c-signalr-\u670d\u52a1",level:2},{value:"24.5 <code>SignalR</code> \u957f\u8fde\u63a5\u548c\u96c6\u7ebf\u5668",id:"245-signalr-\u957f\u8fde\u63a5\u548c\u96c6\u7ebf\u5668",level:2},{value:"24.5.1 \u6301\u4e45\u6027\u8fde\u63a5",id:"2451-\u6301\u4e45\u6027\u8fde\u63a5",level:3},{value:"24.5.2 \u96c6\u7ebf\u5668",id:"2452-\u96c6\u7ebf\u5668",level:3},{value:"24.6 \u96c6\u7ebf\u5668 <code>Hub</code> \u5b9a\u4e49",id:"246-\u96c6\u7ebf\u5668-hub-\u5b9a\u4e49",level:2},{value:"24.6.1 \u4e24\u79cd\u5b9a\u4e49\u65b9\u5f0f",id:"2461-\u4e24\u79cd\u5b9a\u4e49\u65b9\u5f0f",level:3},{value:"24.6.2 <code>[MapHub]</code> \u914d\u7f6e\u8fde\u63a5\u5730\u5740",id:"2462-maphub-\u914d\u7f6e\u8fde\u63a5\u5730\u5740",level:3},{value:"24.6.3 <code>Hub</code> \u6ce8\u518c\u66f4\u591a\u914d\u7f6e",id:"2463-hub-\u6ce8\u518c\u66f4\u591a\u914d\u7f6e",level:3},{value:"24.7 \u83b7\u53d6 <code>Hub</code> \u5b9e\u4f8b\u65b9\u5f0f",id:"247-\u83b7\u53d6-hub-\u5b9e\u4f8b\u65b9\u5f0f",level:2},{value:"24.7.1 <code>IHubContext</code> \u6ce8\u5165\u65b9\u5f0f",id:"2471-ihubcontext-\u6ce8\u5165\u65b9\u5f0f",level:3},{value:"24.7.2 <code>HttpContext</code> \u89e3\u6790\u65b9\u5f0f",id:"2472-httpcontext-\u89e3\u6790\u65b9\u5f0f",level:3},{value:"24.7.3 <code>IHost</code> \u4e2d\u89e3\u6790\u65b9\u5f0f",id:"2473-ihost-\u4e2d\u89e3\u6790\u65b9\u5f0f",level:3},{value:"24.7.4 \u5f3a\u7c7b\u578b <code>IHubContext</code> \u6ce8\u5165\u65b9\u5f0f",id:"2474-\u5f3a\u7c7b\u578b-ihubcontext-\u6ce8\u5165\u65b9\u5f0f",level:3},{value:"24.7.5 <code>IHubContext</code> \u6cdb\u578b\u8f6c\u6362",id:"2475-ihubcontext-\u6cdb\u578b\u8f6c\u6362",level:3},{value:"24.8 \u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u53cc\u5de5\u901a\u4fe1",id:"248-\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u53cc\u5de5\u901a\u4fe1",level:2},{value:"24.8.1 \u89e6\u53d1\u6240\u6709\u5ba2\u6237\u7aef\u4ee3\u7801",id:"2481-\u89e6\u53d1\u6240\u6709\u5ba2\u6237\u7aef\u4ee3\u7801",level:3},{value:"24.8.2 \u89e6\u53d1\u8c03\u7528\u8005\u5ba2\u6237\u7aef",id:"2482-\u89e6\u53d1\u8c03\u7528\u8005\u5ba2\u6237\u7aef",level:3},{value:"24.8.3 \u89e6\u53d1\u9664\u4e86\u8c03\u7528\u8005\u4ee5\u5916\u7684\u5ba2\u6237\u7aef",id:"2483-\u89e6\u53d1\u9664\u4e86\u8c03\u7528\u8005\u4ee5\u5916\u7684\u5ba2\u6237\u7aef",level:3},{value:"24.8.4 \u89e6\u53d1\u7279\u5b9a\u7528\u6237\u5ba2\u6237\u7aef",id:"2484-\u89e6\u53d1\u7279\u5b9a\u7528\u6237\u5ba2\u6237\u7aef",level:3},{value:"24.8.5 \u89e6\u53d1\u591a\u4e2a\u7528\u6237\u5ba2\u6237\u7aef",id:"2485-\u