Open
Description
描述你的问题(Describe you question here)
看源码中有关于 路径的判断处理,
const channelHandler = new CommonChannelHandler('/service', commonChannelPathHandler, logger, {
pathMatchOptions: serverAppOpts.pathMatchOptions,
wsServerOptions: serverAppOpts.wsServerOptions,
});
wsPath 是只能支持ws://x.x.x.x:port/service 吗?能否支持 ws://x.x.x.x:port/custom-path/service
设置 wsServerOptions 参数无效
wsServerOptions: {
path: '/custom-path/service',
},