我正在尝试解决的问题是,我们有一个应用程序,它有一个移动客户端以及一个仅限管理的web客户端,这两个客户端都使用Socket.IO/Feathers客户端连接到后端。我希望有一种方法来应用钩子或以其他方式修改查询或响应,通过确定请求是否来自管理客户端。从我到目前为止的尝试,我发现我不能使用admin.mysite.com提供者和adding headers via the Socket.IO doesn't work when the transportis set to websoc
我有一个角度应用程序,连接到羽毛API与socket.io和feathers-reactive使用@feathersjs/authentication-client。这个很好用!feathersRx from 'feathers-reactive';import feathers from '@feathersjs/feathers';
import feathersSocketI
我想将websockets应用程序添加到由HTTP服务器运行的常规网站中,但我不确定我是否理解这些文档。我可以拥有一个接受多个协议的服务器吗?在这种情况下,我将如何处理路由?You need to pass the Server to socket.io, and not the express application function.var app = require('express')();var