Get desktop application:
View/edit binary Protocol Buffers messages
Windows/Linux: install/start admin_bgservice if needed and start the bg core until STARTED.
Absolute path to this app's HiddifyCli / HiddifyCli.exe (used for elevate install).
Apply the config to the running core without restarting it: outbounds, endpoints, inbounds (not TUN), DNS servers/rules/final and route rules/rule sets/final may change. Anything else, or a changed TUN inbound, returns HOT_RELOAD_FAILED and leaves the core running unchanged. When the core is stopped, it is started like Start.
Whether this core process already has administrator/root rights (same token as the app).
True when the core process runs as Administrator (Windows) or root (Unix).
Windows/Linux: whether elevated admin_bgservice is required for this connect.
proxy | system-proxy | vpn
True after an in-process start failed with a privilege error.
Define the message equivalent of SetupParameters
rpc GenerateConfig (GenerateConfigRequest) returns (GenerateConfigResponse);
Used in:
Used in:
Used in:
Used as response type in: Core.ChangeHiddifySettings, Core.CoreInfoListener, Core.HotReload, Core.Restart, Core.Start, Core.StartService, Core.Stop
The lifecycle is owned by the core: STOPPED -> STARTING -> WAITING -> STARTED, and STOPPING from any running state. A start is accepted only from STOPPED. While the core runs, its monitoring moves it between WAITING, STARTED and NO_AVAILABLE_PROXIES.
Used in:
the background core is starting up completely
the core is up and at least one proxy has a positive ping; a lost ping moves it back to WAITING
a stop was requested: reported at once, and every queued start is dropped
the running core is applying a new config (HotReload); traffic keeps flowing
the core is up and no proxy has a ping yet (not tested, or the ping was lost); a positive ping moves it to STARTED
the core is up and every proxy was tested and timed out; not an error, a positive ping moves it to STARTED
Used in:
Used in:
The IP address.
The country code.
The region (optional).
The city (optional).
The Autonomous System Number (optional).
The organization (optional).
The latitude (optional).
The longitude (optional).
The postal code (optional).
Of a previous run, not looked up in this one yet; it may have changed.
Used in: ,
Used in:
Used in:
HotReload could not apply the config (e.g. the TUN inbound changed); the running core is unchanged, restart it to apply the config
Used in:
Used as response type in: Core.MainOutboundsInfo, Core.OutboundsInfo
main list only: the extra security / unblocker hop the traffic goes through now
Used in: ,
ready / connecting / registering / … (outbound or endpoint)
Used in: ,
Used as request type in: Core.HotReload, Core.Restart, Core.Start, Core.StartService
Optional if configPath is not provided.
Connection state of an outbound or endpoint (mirrors adapter.Status).
Used in:
(message has no fields)
Used as response type in: Core.GetSystemInfo, Core.GetSystemInfoStream
Used in:
Used in: