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

Move Response class to React\Http\Message\Response and ServerRequest class to React\Http\Message\ServerRequest #370

Merged
merged 4 commits into from
Jul 10, 2020

Conversation

clue
Copy link
Member

@clue clue commented Jul 9, 2020

This changeset moves the Response class to React\Http\Message\Response and the ServerRequest class to React\Http\Message\ServerRequest. The Response class is used throughout our examples and user code, the ServerRequest class used to be internal only and is now exposed (testing client web applications).

// old
$response = new React\Http\Response(200, [], 'Hello!');

// new
$response = new React\Http\Message\Response(200, [], 'Hello!');

Builds on top of #361 and #368

@clue clue added this to the v1.0.0 milestone Jul 9, 2020
@clue clue requested a review from WyriHaximus July 9, 2020 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants