Aerys\websocket

function websocket(Aerys\Websocket|Aerys\Bootable $app, array $options = []): Aerys\Bootable

Create a Websocket application for use in a Host instance

Type Parameter Description Default Value
Aerys\Websocket|Aerys\Bootable $app The websocket app to use none
array $options Endpoint options []