Add an authority() method to folly::Uri.
Summary: facebook::strings::URL has an authority() method. Having the same thing for folly::Uri help converting users of the URL class. This method just takes username, password, host, and port, and builds a string in the form <username>:<password>@<host>:<port>. Test Plan: None. Reviewed By: rajat@fb.com FB internal diff: D977450
Showing
Please register or sign in to comment