mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-20 00:56:47 +00:00
GODT-1753: implement reset [skip-ci]
This commit is contained in:
@ -388,6 +388,15 @@ grpc::Status GRPCClient::restart()
|
||||
return stub_->Restart(&ctx, empty, &empty);
|
||||
}
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \return The status for the gRPC call.
|
||||
//****************************************************************************************************************************************************
|
||||
grpc::Status GRPCClient::triggerReset()
|
||||
{
|
||||
grpc::ClientContext ctx;
|
||||
return stub_->TriggerReset(&ctx, empty, &empty);
|
||||
}
|
||||
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \param[in] port The port to check.
|
||||
|
||||
Reference in New Issue
Block a user