AppserverIo\Appserver\ServletEngine\Http\Request::setMethod PHP 메소드

setMethod() 공개 메소드

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
리턴 void
    public function setMethod($method)
    {
        $this->getHttpRequest()->setMethod($method);
    }