Open stream mode setting.
Add rest interface of mode