Sets HTTP method for the request.
Parameters
$methodstringrequired- HTTP method.
Source
public function set_method( $method ) {
$this->method = strtoupper( $method );
}
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
Sets HTTP method for the request.
$methodstringrequiredpublic function set_method( $method ) {
$this->method = strtoupper( $method );
}
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.