libcURL.URLParser.SetPartContent - charonn0/RB-libcURL GitHub Wiki
libcURL.URLParser.SetPartContent
Method Signature
Function SetPartContent(Part As libcURL.URLPart, Contents As String, Flags As Integer) As Boolean
Parameters
| 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). |
Return value
If the URL part was set this method returns True. If it returns False then consult URLParser.LastError for details.
Remarks
This method allows you specify custom options when modifying a URL part (as opposed to using the class properties.)
The Flags parameter can be a bitmask of one or more parser flags. Refer to the libcurl documentation for information about what flags are available and what they do.