$ ua ->agent ([ string ])
ua
string
When invoked with no arguments, this method returns the current value of the identifier used in the User-Agent HTTP header. If invoked with an argument, the User-Agent header will use string as its identifier in the future.
Copyright © 2001 O'Reilly & Associates. All rights reserved.