WordPress\AiClient\Providers\Http\DTO

Response::getBodypublicWP 0.1.0

Gets the response body.

Method of the class: Response{}

No Hooks.

Returns

String|null. The body.

Usage

$Response = new Response();
$Response->getBody(): ?string;

Changelog

Since 0.1.0 Introduced.

Response::getBody() code WP 7.0

public function getBody(): ?string
{
    return $this->body;
}