Skip to content

Swoole

Everything under Quiote\Runtime\Swoole.

ClassDescription
NativeSwooleServerPure delegation onto the real Swoole server.
NativeSwooleServerFactoryBuilds the real \Swoole\Http\Server.
SwooleConverterOptionsThe handful of things a Swoole request cannot tell us and the server operator has to.
SwooleRequestConverterTurns a SwooleRequestSnapshot into a PSR-7 request.
SwooleRequestSnapshotA Swoole HTTP request reduced to plain arrays.
SwooleRequestSnapshotFactoryThe only place in this package that touches \Swoole\Http\Request.
SwooleResponseEmitterWrites the response to Swoole’s per-request response object.
SwooleResponseWriterThe only place in this package that touches \Swoole\Http\Response.
SwooleRuntimeServes requests from an embedded Swoole HTTP server.
WorkerSwoolePluginRegisters the swoole worker-runtime alias, its settings, and the swoole:serve launcher.
InterfaceDescription
SwooleResponseWriterInterfaceThe 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.
SwooleServerFactoryCreates the HTTP server SwooleRuntime binds and runs.
SwooleServerInterfaceThe 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).
NamespaceContents
Console1 type