WordPress\AiClientDependencies\Psr\Http\Message

ResponseInterface::getStatusCodepublicWP 1.0

Gets the response status code.

The status code is a 3-digit integer result code of the server's attempt to understand and satisfy the request.

Method of the class: ResponseInterface{}

No Hooks.

Returns

Int. Status code.

Usage

$ResponseInterface = new ResponseInterface();
$ResponseInterface->getStatusCode(): int;

ResponseInterface::getStatusCode() code WP 7.0

public function getStatusCode(): int;