/***
* @method url:get_tld()
- * Get top level domain part of the url host
- * @return {string} top level part of the url host
+ * Get effective second level domain part (eSLD) of the url host
+ * @return {string} effective second level domain part (eSLD) of the url host
*/
static gint
lua_url_get_tld (lua_State *L)
/***
* @function util.get_tld(host)
- * Returns tld for the specified host
+ * Returns effective second level domain part (eSLD) for the specified host
*
* @param {string} host hostname
- * @return {string} tld part of hostname or the full hostname
+ * @return {string} eSLD part of the hostname or the full hostname if eSLD was not found
*/
LUA_FUNCTION_DEF (util, get_tld);