conventionByRequestHostIfPresent
Returns the convention associated with the domain name of this HTTP request. If one is not present, returns null.
conventionByRequestHostIfPresent: Convention
Type
Convention
object
A Convention in Intercode is essentially a web site hosted by Intercode. A Convention can represent an actual, real-world convention (and this is probably the most common use case), but it can also represent a single event (if the site_mode is set to single_event) or a series of events over time (if the site_mode is set to event_series).
They're called Convention for historical reasons, because naming is hard. Sorry. It's probably best to think of them as "web site."