set_locale


Description:

[ Version ( since = "0.7.0" ) ]
public void set_locale (string? locale)

Set the locale used for network requests to locale, given in standard Unix locale format.

See locale for more details.

Note that while it's possible to change the locale after sending network requests, it is unsupported, as the server-side software may behave unexpectedly. The only supported use of this function is after creation of a service, but before any network requests are made.

Parameters:

this

a Service

locale

the new locale in Unix locale format, or null for the default locale