URL and User Agent

Is there a way to set up the “User Agent” with the URL class?

Can you set it in extraHeaders? If not then there’s no easy way to do this.