[onMessage](on-message.md) [onClose](on-close.md) [onBufferFull](on-buffer-full.md) [onBufferDrain](on-buffer-drain.md) [onError](on-error.md)