Repository navigation
URL Handle Reference
Qriist edited this page Sep 17, 2026
·
2 revisions
The url_handle provides structured access to individual components of a URL without manual string building or encoding. This reference lists the core methods which operate on a url_handle, their primary function, and links to the official libcurl documentation.
| Method | Description | libcurl Reference |
|---|---|---|
UrlInit() |
Creates a new URL handle. | curl_url |
UrlCleanup(url_handle?) |
Releases the URL handle. | curl_url_cleanup |
DupeUrl(url_handle?) |
Creates a copy of an existing URL handle. | curl_url_dup |
| Method | Description | libcurl Reference |
|---|---|---|
UrlSet(part, content, flags := [], url_handle?) |
Writes a value to a named URL part. | curl_url_set |
UrlGet(part, flags := [], url_handle?) |
Reads a named URL part back as a string. | curl_url_get |
| Method | Description | libcurl Reference |
|---|---|---|
UrlPartReturnsNull(behavior := true, url_handle?) |
Controls whether unset parts return Null() or an empty string. |
— |
| Method | Description | libcurl Reference |
|---|---|---|
GetUrlErrorString(incomingValue) |
Resolves a URL-specific error code to its string description. | curl_url_strerror |
- Easy Handle Reference — single transfer lifecycle
- MIME Handle Reference — multipart form encoding
- Utility Methods Reference — standalone helper functions
Foundations
Operations
- Download Modes
- Setting and Listing Options
- Setting and Inspecting Headers
- POST and Upload
- Multiple Easy Handles
- Async and Multi Interface
- URL Construction
- Share Interface
- MIME and Multipart
- Raw Send and Receive
- Pause and Resume
- WebSocket
- SSL Sessions
- Debug and Diagnostics
API Reference
- Easy Handle Reference
- Multi Handle Reference
- Share Handle Reference
- MIME Handle Reference
- URL Handle Reference
- Utility Methods Reference
- WebSocket Reference
Code Snippets