Swoole
Everything under Quiote\Runtime\Swoole.
Classes
Section titled “Classes”| Class | Description |
|---|---|
NativeSwooleServer | Pure delegation onto the real Swoole server. |
NativeSwooleServerFactory | Builds the real \Swoole\Http\Server. |
SwooleConverterOptions | The handful of things a Swoole request cannot tell us and the server operator has to. |
SwooleRequestConverter | Turns a SwooleRequestSnapshot into a PSR-7 request. |
SwooleRequestSnapshot | A Swoole HTTP request reduced to plain arrays. |
SwooleRequestSnapshotFactory | The only place in this package that touches \Swoole\Http\Request. |
SwooleResponseEmitter | Writes the response to Swoole’s per-request response object. |
SwooleResponseWriter | The only place in this package that touches \Swoole\Http\Response. |
SwooleRuntime | Serves requests from an embedded Swoole HTTP server. |
WorkerSwoolePlugin | Registers the swoole worker-runtime alias, its settings, and the swoole:serve launcher. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
SwooleResponseWriterInterface | The slice of \Swoole\Http\Response the emitter needs, so the emitter can be tested against a recording double on a machine with no ext-swoole. |
SwooleServerFactory | Creates the HTTP server SwooleRuntime binds and runs. |
SwooleServerInterface | The slice of \Swoole\Http\Server the runtime drives, so the loop’s wiring can be asserted without ext-swoole (and without actually binding a port). |
Nested namespaces
Section titled “Nested namespaces”| Namespace | Contents |
|---|---|
Console | 1 type |