RelayRemoteSettingsClient

Client for fetching Relay data from Remote Settings

This struct holds separate Remote Settings clients for the allowlist and denylist collections. It follows the same pattern as SuggestRemoteSettingsClient.

Constructors

Link copied to clipboard
constructor(rsService: RemoteSettingsService)

Creates a new RelayRemoteSettingsClient from a RemoteSettingsService

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun shouldShowRelay(host: String, domain: String, isRelayUser: Boolean): Boolean

Determines whether Firefox Relay should be offered for a given site.