Stopping the flow by giving a message
You can use the following api methods in the streaming code to stop the flow by giving a message.
'''public void StopWithError(string title, string message, Context context)
public void StopWithError(Dictionary<
string, string>
title, Dictionary<
string, string>
message, Context context)
public void StopWithInfo(string title, string message, Context context)
public void StopWithInfo(Dictionary<
string, string>
title, Dictionary<
string, string>
message, Context context)
public void StopWithWarning(string title, string message, Context context)
public void StopWithWarning(Dictionary<
string, string>
title, Dictionary<
string, string>
message, Context context)'''