AppserverIo\Appserver\ServletEngine\Http\Request::setMethod PHP Méthode

setMethod() public méthode

While HTTP method names are typically all uppercase characters, HTTP method names are case-sensitive and thus implementations SHOULD NOT modify the given string.
public setMethod ( string $method ) : void
$method string Case-insensitive method
Résultat void
    public function setMethod($method)
    {
        $this->getHttpRequest()->setMethod($method);
    }