Sets HTTP method for the request.
Parameters
$method
stringrequired- 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.
$method
stringrequiredpublic 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.