Skip to main content

Packet Types

In the WebSocket speech recognition protocol, there are mainly three types of packets exchanged between the client and server:

Command Packet

A packet sent from the client to the server to make a request to the server.

Command Response Packet

A packet sent from the server to the client to respond to a command packet sent from the client to the server.

Event Packet

A packet sent from the server to the client to notify the client of some information.