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 }}
Repository navigation
Commit 7b3ccf7
Browse filesBrowse the repository at this point in the historyBrowse files
<p dir="auto">Feature / BC break: Add <code class="notranslate">LoopInterface</code> as required first constructor argument to <code class="notranslate">Server</code> and<br>
3351
3353
change <code class="notranslate">Server</code> to accept variadic middleware handlers instead of <code class="notranslate">array</code>.<br>
3352
3354
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="644745215" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/361" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/361/hovercard" href="https://github.com/reactphp/http/pull/361">#361</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="644762095" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/362" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/362/hovercard" href="https://github.com/reactphp/http/pull/362">#362</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a>)</p>
$server = new React\Http\Server($loop, $middleware, $handler);
3362
+
</code></pre>
3360
3363
</li>
3361
3364
<li>
3362
3365
<p dir="auto">Feature / BC break: Move <code class="notranslate">Response</code> class to <code class="notranslate">React\Http\Message\Response</code> and<br>
3363
3366
expose <code class="notranslate">ServerRequest</code> class to <code class="notranslate">React\Http\Message\ServerRequest</code>.<br>
3364
3367
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="653929433" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/370" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/370/hovercard" href="https://github.com/reactphp/http/pull/370">#370</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
$response = new React\Http\Message\Response(200, [], 'Hello!');
3373
+
</code></pre>
3370
3374
</li>
3371
3375
<li>
3372
3376
<p dir="auto">Feature / BC break: Add <code class="notranslate">StreamingRequestMiddleware</code> to stream incoming requests, mark <code class="notranslate">StreamingServer</code> as internal.<br>
3373
3377
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="651794172" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/367" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/367/hovercard" href="https://github.com/reactphp/http/pull/367">#367</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
3374
-
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-c">// old: advanced StreamingServer is now internal only</span>
0 commit comments