OptionalgetReturns a promise for a History API implementation, or rejects if unavailable. The property is optional to support explicitly older servers that do not have a history api provider.
When called without arguments, returns a proxy to the default provider. When called with a provider id, returns that specific provider's HistoryApi instance.
OptionalproviderId: stringOptional id of a specific history provider plugin. If omitted, returns the default provider.
Promise that resolves to a HistoryApi instance if available, or rejects with an error if not.