Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http-server-middleware has been deprecated #86

Closed
rohitagre opened this issue Jan 23, 2018 · 2 comments
Closed

http-server-middleware has been deprecated #86

rohitagre opened this issue Jan 23, 2018 · 2 comments

Comments

@rohitagre
Copy link

rohitagre commented Jan 23, 2018

Hi,
switching from http-interop/http-server-middleware to psr/http-server-middleware
please see https://github.com/http-interop/http-server-middleware

Can you suggest any local changes to be done just in the mean time to keep things running?

I get the following error

Psr\Http\Message\ResponseInterface must be compatible with Psr\Http\Server\MiddlewareInterface::process(Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Server\RequestHandlerInterface $handler): 
Psr\Http\Message\ResponseInterface in /Users/jammer/Code/localpull/rm/api/vendor/tuupola/slim-jwt-auth/src/JwtAuthentication.php on line 31
@tuupola
Copy link
Owner

tuupola commented Jan 23, 2018

The package http-interop/http-server-middleware was broken for a while. They should have fixed the problem now.

http-interop/http-server-middleware#6
http-interop/http-server-handler#13.

Will release version with psr/http-server-middleware most likely tomorrow.

@tuupola
Copy link
Owner

tuupola commented Jan 26, 2018

Problem should now also be also fixed in 3.0.0-rc.4.

@tuupola tuupola closed this as completed Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants