Make the user agent accessible from the RBClient class.
Review Request #13340 — Created Oct. 13, 2023 and submitted — Latest diff uploaded
This makes the user agent string used for clients accessible from
RBClient
as a property. We also weren't passing on the user agent fromSyncTransport
to theReviewBoardServer, so if a custom agent was set on the
SyncTransport, theReviewBoardServerwould still use the default agent.
This change fixes that.
- Ran unit tests.
- Used in an upcoming change where I access the user agent from the
RBClientin a command.