Gets a query parameter with a given name, as the specified type, or returns the default value if the parameter doesn't exist.
The name of the parameter to get.
The default value to return if the parameter doesn't exist or is invalid.
The parameter value.
Gets a query parameter with a given name, as the specified type, or returns the default value if the parameter doesn't exist.