hyperf / hyperf/socketio-server

当前是否支持 socket-io v4版本呢?

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
26
Forks
6
PR merge metrics
No merged PRs in 30d

Description

目前客户端使用了 v4版本,但连接的时候浏览器提示

v4 连接失败: It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)

服务端组件 hyperf/socketio-server 已经是 v3.1.63 版本了

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the hyperf/socketio-server component at v3.1.63 and the Socket.IO 2.x-to-3.x migration guidance linked in the report. Reproduce the v4 client connection failure, then identify the server-side compatibility work required; done means a v4 client connects successfully without the reported protocol mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.