-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.URLEncode
Andrew Lambert edited this page Nov 7, 2023
·
17 revisions
libcURL.URLEncode
Protected Function URLEncode(Data As String, Optional EasyItem As libcURL.EasyHandle) As String
Name | Type | Comment |
---|---|---|
Data | String | The string to encode |
EasyItem | EasyHandle | Optional. An easy handle to use |
The encoded string.
This method provides access to the curl_easy_escape function of libcURL; modern versions of REALbasic and Xojo provide the EncodeURLComponent method which should be preferred over this method.
curl_easy_escape
needs a curl_easy
handle to encode data. If EasyItem is not Nil, then the EasyItem is used; otherwise a new EasyHandle
is constructed.
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
).
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.