变更
This commit is contained in:
@@ -33,6 +33,15 @@ class ConstrictRequest extends Message implements RequestInterface, ServerReques
|
|||||||
private array $serverParams = [];
|
private array $serverParams = [];
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function getIsPost(): bool
|
||||||
|
{
|
||||||
|
return $this->method === 'POST';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves the message's request target.
|
* Retrieves the message's request target.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user