Skip to main content

set_api_base

Function set_api_base 

Source
pub fn set_api_base(base: impl Into<String>)
Expand description

Publish the API base path. First call wins (mirrors the REST plugin’s own CONFIG OnceLock); subsequent calls are ignored. The REST plugin calls this in an early build phase.