distinguish http and ws push moduel