You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
'use strict'classCustomMiddleware{// for HTTPasynchandle(ctx,next){// no call next() function()}// for WebSocketasyncwsHandle(ctx,next){// no call next() function}}module.exports=CustomMiddleware
When I use this middleware for http request, the request never go to my controller because I don't call the next() function on handle(). But the socket request doesn't same, it still go to my controller. Is it a bug, or what am I doing wrong?
I using adonisjs 4.1. my node version is 10.x
The text was updated successfully, but these errors were encountered:
Dear,
I created a middleware
When I use this middleware for http request, the request never go to my controller because I don't call the next() function on handle(). But the socket request doesn't same, it still go to my controller. Is it a bug, or what am I doing wrong?
I using adonisjs 4.1. my node version is 10.x
The text was updated successfully, but these errors were encountered: