Name
url:SetScheme -- get scheme part of URL (V2.0)
Synopsis
url:SetScheme(scheme$[, flags])
Function
Sets the scheme in the specified URL object to the one specified in scheme$. libcurl only accepts setting schemes up to 40 bytes long. You can also pass Nil to unset the scheme 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
scheme$
scheme to get
flags
optional: combination of flags

Show TOC