Name
url:SetOptions -- get options part of URL (V2.0)
Synopsis
url:SetOptions(opts$[, flags])
Function
Sets the options in the specified URL object to the one specified in opts$. The options field is an optional field that might follow the password in the userinfo part. It is only recognized/used when parsing URLs for the following schemes: pop3, smtp and imap. This function however allows users to independently get this field at will. You can also pass Nil to unset the options field in the URL handle.

The optional flags parameter can be a combination of flags as described in the documentation of the hurl.URL() function. See hurl.URL for details.

Inputs
opts$
options to get
flags
optional: combination of flags

Show TOC