The request object
request object returns information about the domain used to access your store and the page being accessed.
You can use
request.host to check which domain a customer is visiting from.
For example, if you have multiple domains, you can show a different greeting based on the request:
Returns the shop_locale of the current request.
Returns the path to the current page.