set_user_agent


Description:


public void set_user_agent (string? new_user_agent)

Sets the user agent that libshumate uses for all requests.

This API is not thread-safe and should only be called from the main thread.

Parameters:

new_user_agent

the new user agent, or null to reset to the default


Namespace: Shumate
Package: shumate-1.0