onMessage

Syntax

onMessage(event)

Description

Fires when there is incoming message.