set transports websocket in sample