curl->url

Reads or writes request URL.

Target member

Signature

1curl->url

Reads or writes request URL.

curl->url is called with member syntax on a receiver value. curl->url performs network or protocol work. Make timeouts, encodings, and authentication settings visible in calling code so failures are easier to diagnose.

Examples

Basic call

1local(c) = curl2#c->url = 'https://example.com'
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.