public function setMethod($method = self::GET)
	{
		if (in_array($method, $this->allowedMethods)) {
			$this->method = $method;
		} else {
			throw new RuntimeException('Invalid method setted.');
		}
		
		return $this;
	}
public function setMethod($method = self::GET)
	{
		if (in_array($method, $this->allowedMethods)) {
			$this->method = $method;
		} else {
			throw new RuntimeException('Invalid method setted.');
		}
		
		return $this;
	}
public function setMethod ( $ method = self :: GET ) { if ( in_array ( $ method , $ this -> allowedMethods ) ) { $ this -> method = $ method ; } else { throw new RuntimeException ( 'Invalid method setted.' ) ; } return $ this ; }
Set the request method to use

@param string $method Recommended use of Client class constants
@throws RuntimeException
@return \Slice\Http\Client
Set the request method to use