WordPress\AiClient\Providers\Http\DTO

Request::getMethodpublicWP 0.1.0

Gets the HTTP method.

Method of the class: Request{}

No Hooks.

Returns

HttpMethodEnum. The HTTP method.

Usage

$Request = new Request();
$Request->getMethod(): HttpMethodEnum;

Changelog

Since 0.1.0 Introduced.

Request::getMethod() code WP 7.0.4

public function getMethod(): HttpMethodEnum
{
    return $this->method;
}