Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.SetOptionServiceName

Sets Service Name.

Component Version macOS Windows Linux Server iOS SDK
CURL 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionServiceName"; curl; Value )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value The option value.

Result

Returns OK or error.

Description

Sets Service Name.

See also SERVICE_NAME option in CURL manual.

Examples

Set a custom service name:

Set Variable [ $r; Value: MBS( "CURL.SetOptionServiceName"; $curl; "custom" ) ]

See also

Created 15th April 2018, last changed 5th September 2025


CURL.SetOptionServerResponseTimeout - CURL.SetOptionSocks5Auth