hyperf / hyperf/socketio-server

中间件配置无效

Open
#28 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

中间件配置无效,在config/autoload/middlewares.php中配置的
服务器版本:AlmaLinux 9
php版本:8.3.3
redis版本:7.2.4
hyperf版本:3.1
socketio-server库版本:3.1.6
运行没有报错,socketio通信正常,第一次请求没有经过中间件。
config/autoload/middlewares.php
'socket-io' => [
App\Middleware\SocketAuthenticationMiddleware::class,
]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.