KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
SignalR-ClientForMiniProgram-js
★ 20
Open GitHub ↗
小程序可用的官方修改版
Download README (.md)
Explore Similar Repositories
MacOS_Scripts
:
No description available.
json-schema-md-doc
:
Generate markdown documentation for JSON Schemas
PAL
:
Reference implementation of the PAL optimizer
MLSample.SimpleTransactionTagging
:
This is an simple example of tagging bank transactions with ML.NET
timeline-element
:
A custom element for the YOOtheme Pro Page Builder to render a timeline based on the grid element
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
SignalR-ClientForMiniProgram-js
?
Download (.md)
# SignalR-ClientForMiniProgram-js ASP.NET SignalR依赖JQ,故小程序不能直接使用。但是在ASP.NET Core SignalR中,官方去除了对JQ的依赖,所以存在可以被小程序直接使用的可能,但是客户端js中连接服务端的方法和实现WebSoket方式,跟小程序中的用法不同,也不能直接用。但是通过修改这两处的实现方式,可以让小程序使用。 --- 此版为老版本的signalR,新版本目前是TS编译版本,还未修改成功。 # 修改处说明 ### 将原来的XMLRequest请求方式,改为小程序字节的wx.requst.  ### 将原来的WebSocket,改为小程序的WebSocket  ### 因为小程序只支持signalR三种通讯方式中的WebSocket,所以将通讯方式固定位WebSocket即可 