| 769 | } |
| 770 | |
| 771 | std::string Location::scheme() const { |
| 772 | std::string scheme = uri_->scheme(); |
| 773 | if (scheme.empty()) { |
| 774 | // Default to grpc+tcp |
| 775 | return "grpc+tcp"; |
| 776 | } |
| 777 | return scheme; |
| 778 | } |
| 779 | |
| 780 | std::string Location::ToString() const { return uri_->ToString(); } |
| 781 |