Method
Request::getRequestTarget
Returns the request target of the message.
Description#
public Request::getRequestTarget(): stringSet with the constructor or Request::withRequestTarget, it is returned as it is. Request::withUri
replaces it with the origin-form of the URI (path and query), unless it was set with withRequestTarget().
Return values#
string