Skip to content
Andrew Lambert edited this page Sep 15, 2015 · 14 revisions

#libcURL.URLDecode

##Method Signature

 Protected Function URLDecode(Data As String, Optional EasyItem As libcURL.EasyHandle) As String

##Parameters

Name Type Comment
Data String The string to decode
EasyItem EasyHandle Optional. An easy handle to use

##Return value The decoded string.

##Remarks This method provides access to the curl_easy_unescape function of libcURL; modern versions of REALbasic and Xojo provide the DecodeURLComponent method which should be preferred over this method.

curl_easy_unescape needs a curl_easy handle to decode data. If EasyItem is not Nil, then the EasyItem is used; otherwise a new EasyHandle is constructed.

##Requirements This function is available from libcurl-7.15.4. Calling this method in earlier versions will raise a cURLException with error number libcURL.Errors.FEATURE_UNAVAILABLE (-4).

##See also

Clone this wiki locally