We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a734671 commit 53d020bCopy full SHA for 53d020b
src/HttpWorkerInterface.php
@@ -30,5 +30,5 @@ public function waitRequest(): ?Request;
30
* message's headers. Each key MUST be a header name, and each value MUST be an array of strings for
31
* that header.
32
*/
33
- public function respond(int $status, string|Generator $body, array $headers = []): void;
+ public function respond(int $status, string|Generator $body, array $headers = [], bool $endOfStream = true): void;
34
}
0 commit comments