WordPress\AiClientDependencies\Psr\Http\Message
ResponseInterface::getStatusCode
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() ResponseInterface::getStatusCode code WP 7.0
public function getStatusCode(): int;