OpenSwoole\Core\Psr\Request->withUri

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

Declaration

<?php OpenSwoole\Core\Psr\Request->withUri()

Parameters

uri

New request URI to use

preserveHost

Preserve the original state of the Host header

Return

Description

Set the URI instance of the request.

Last updated on September 23, 2022