-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.URLParser.SetPartContent
Andrew Lambert edited this page Sep 20, 2022
·
6 revisions
Function SetPartContent(Part As libcURL.URLPart, Contents As String, Flags As Integer) As Boolean| Name | Type | Comment |
|---|---|---|
| Part | URLPart | The part of the URL to modify. |
| Contents | String |
The new contents of the URL part. |
| Flags | Integer |
Feature flags (see remarks). |
If the URL part was set this method returns True. If it returns False then consult URLParser.LastError for details.
This method allows you specify custom options when modifying a URL part (as opposed to using the class properties.)
Flags may be zero or more of the following class constants: CURLU_NON_SUPPORT_SCHEME, CURLU_URLENCODE, CURLU_DEFAULT_SCHEME, CURLU_GUESS_SCHEME, CURLU_NO_AUTHORITY(libcurl 7.67.0 and newer), CURLU_PATH_AS_IS, or CURLU_ALLOW_SPACE. Refer to the libcurl documentation for a description of these flags.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-26 Andrew Lambert, offered under the CC BY-SA 3.0 License.