You are here

public function RequestInterface::withRequestTarget in Auth0 Single Sign On 8.2

Return an instance with the specific request-target.

If the request needs a non-origin-form request-target — e.g., for specifying an absolute-form, authority-form, or asterisk-form — this method may be used to create an instance with the specified request-target, verbatim.

This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that has the changed request target.

@link http://tools.ietf.org/html/rfc7230#section-5.3 (for the various request-target forms allowed in request messages)

Parameters

mixed $requestTarget:

Return value

static

1 method overrides RequestInterface::withRequestTarget()
Request::withRequestTarget in vendor/guzzlehttp/psr7/src/Request.php
Return an instance with the specific request-target.

File

vendor/psr/http-message/src/RequestInterface.php, line 61

Class

RequestInterface
Representation of an outgoing, client-side request.

Namespace

Psr\Http\Message

Code

public function withRequestTarget($requestTarget);