protected function validateRequestTarget($requestTarget) : void
	{
		if (! \is_string($requestTarget))
		{
			throw new \InvalidArgumentException('HTTP request-target must be a string');
		}
		else if (! \preg_match('/^[\x21-\x7E\x80-\xFF]+$/', $requestTarget))
		{
			throw new \InvalidArgumentException(\sprintf('The given request-target "%s" is not valid', $requestTarget));
		}
	}
protected function validateRequestTarget($requestTarget) : void
	{
		if (! \is_string($requestTarget))
		{
			throw new \InvalidArgumentException('HTTP request-target must be a string');
		}
		else if (! \preg_match('/^[\x21-\x7E\x80-\xFF]+$/', $requestTarget))
		{
			throw new \InvalidArgumentException(\sprintf('The given request-target "%s" is not valid', $requestTarget));
		}
	}
protected function validateRequestTarget ( $ requestTarget ) : void { if ( ! \ is_string ( $ requestTarget ) ) { throw new \ InvalidArgumentException ( 'HTTP request-target must be a string' ) ; } else if ( ! \ preg_match ( '/^[\x21-\x7E\x80-\xFF]+$/' , $ requestTarget ) ) { throw new \ InvalidArgumentException ( \ sprintf ( 'The given request-target "%s" is not valid' , $ requestTarget ) ) ; } }
Validates the given request-target

@param mixed $requestTarget

@return void

@throws \InvalidArgumentException

@link https://tools.ietf.org/html/rfc7230#section-5.3
Validates the given request - target