Table of Contents

Interface IDesktopApiUrlProvider

Namespace
VpnHood.AppUi.Hosting.Desktop.Abstractions
Assembly
VpnHood.AppUi.Hosting.Desktop.Abstractions.dll

Defines the app's API address, where its web host serves the UI's page too; a rebind may move it.

public interface IDesktopApiUrlProvider

Properties

Current

Gets the latest known address; while nothing answers, it is the last one, which a load fails against and tries again.

Uri Current { get; }

Property Value

Uri

Events

Changed

Occurs when the address may have moved, as when the service answers again, on any thread: a UI that loaded its page from Current reads it again and reloads.

event EventHandler? Changed

Event Type

EventHandler