OpenSwoole\Core\Psr\Response->emit

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

Declaration

<?php OpenSwoole\Core\Psr\Response->emit()

Parameters

response

Instance of OpenSwoole\HTTP\Response.

psrResponse

Instance of OpenSwoole\Core\Psr\Response.

Return

Description

Translate PSR response to OpenSwoole response and then response.

Last updated on September 23, 2022