ws channel processing