File: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php
-
Creates a Request instance from a PSR-7 RequestInterface.
Used by 1 function | Uses 1 function | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:365 -
methodRequest::withData()
Returns a new instance with the specified data.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:258 -
methodRequest::getData()
Gets the request data array.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:280 -
methodRequest::getOptions()
Gets the request options.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:291 -
methodRequest::withOptions()
Returns a new instance with the specified request options.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:303 -
methodRequest::getJsonSchema()
{@inheritDoc}
Used by 0 functions | Uses 1 function | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:314 -
methodRequest::toArray()
{@inheritDoc}
Used by 0 functions | Uses 2 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:325 -
methodRequest::fromArray()
{@inheritDoc}
Used by 0 functions | Uses 2 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:351 -
Gets the Content-Type header value.
Used by 1 function | Uses 1 function | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:229 -
methodRequest::withHeader()
Returns a new instance with the specified header.
Used by 1 function | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:243 -
methodRequest::getHeaders()
Gets the request headers.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:146 -
methodRequest::getHeader()
Gets a specific header value.
Used by 1 function | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:158 -
Gets header values as a comma-separated string.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:170 -
methodRequest::hasHeader()
Checks if a header exists.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:182 -
methodRequest::getBody()
Gets the request body.
Used by 1 function | Uses 2 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:200 -
classRequest
Represents an HTTP request.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:31 -
methodRequest::__construct()
Constructor.
Used by 2 functions | Uses 1 function | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:75 -
methodRequest::__clone()
Creates a deep clone of this request.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:100 -
methodRequest::getMethod()
Gets the HTTP method.
Used by 0 functions | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:117 -
methodRequest::getUri()
Gets the request URI.
Used by 1 function | Uses 0 functions | Source: wp-includes/php-ai-client/src/Providers/Http/DTO/Request.php:130