mini\Http\Message\Request::getRequestTarget() Method

public

Signature

public function getRequestTarget(): string

Returns

string

Documentation

Retrieves the message's request target.

Retrieves the message's request-target either as it will appear (for clients), as it appeared at request (for servers), or as it was specified for the instance (see withRequestTarget()).

The request target is stored directly and returned as-is. This method does not construct the target from the URI.

Source

src/Http/Message/RequestTrait.php:69-71