Skip to content

Conversation

@legionth
Copy link
Contributor

This PR adds a PSR-ServerRequestInterface to the request.
This won't handle server params, cookies or uploaded files. This will be addressed in several other PRs.
The new class makes it possible to handle parsed request bodies (#105 for v0.8.0).

Copy link
Member

@clueclue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to break this down from #160, this makes it waaay easier to review 👍

LGTM :shipit:

For the reference: We may want to eventually move the ServerRequest implementation upstream, is this something you've already looked in to? Given that this class is currently marked internal, I don't see this as a blocker and want to get this in despite 👍

@clueclue added this to the v0.7.0 milestone Apr 20, 2017
@WyriHaximusWyriHaximus self-requested a review April 20, 2017 18:12
@clueclue merged commit 90e3700 into reactphp:masterApr 20, 2017
@andig
Copy link
Contributor

Just noticed that the Server inline examples are all still using RequestInterface instead of ServerRequestInterface

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@legionth@andig@jsor@WyriHaximus@clue