Core\Response\Stream
A response body that your program sends in parts. Core\Response::startStream() returns it, and its write() method sends each part. The body ends when the program ends, or when your program calls end().
Returned by
You get a Core\Response\Stream from these methods:
Members
4 members.
| Member | Signature |
|---|---|
write | write(string|bytes $chunk): void |
offset | offset(): int |
length | length(): int |
end | end(): void |
Example apps
These complete apps use this class. You can download and run each one.
