OpenSwoole\Core\Psr\Response->emit

Latest version: pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.1

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