Skip to main content

switch_mode

Function switch_mode 

Source
pub async fn switch_mode(
    __arg0: State<UnifiedAppState>,
    __arg1: Json<SwitchModeRequest>,
) -> Result<impl IntoResponse, StatusCode>
Expand description

Switch between online/offline modes