Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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