WordPress\AiClient\Providers\Http\DTO
Request::getMethod
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() Request::getMethod code WP 7.0.4
public function getMethod(): HttpMethodEnum
{
return $this->method;
}