HttpEmitter
The original SAPI emitter, kept as the name apps and tests already reference.
The implementation moved to SapiEmitter when response emission became a per-runtime concern (ResponseEmitterInterface); new code should depend on that interface instead of this class.
Synopsis
Section titled “Synopsis”class HttpEmitter extends SapiEmitter
| Extends | SapiEmitter |
| Source | Runtime/HttpEmitter.php |
Inherited methods
Section titled “Inherited methods”These come from an ancestor and are documented where they are declared.
| Method | Declared in | Description |
|---|---|---|
emit() | SapiEmitter | Sends the response through http_response_code(), header() and echo. |
supportsStreaming() | SapiEmitter | Always true: the SAPI can flush a body incrementally to the client. |