Uses the onSuccess response specification for 101 responses (switching protocols), and the onError specification otherwise.
onSuccess
onError