Skip to content

Collecting Events via Websocket

A web socket is a real-time connection with a server that enables bi-directional data exchange. It’s great for long-live sessions in browsers.

Collector > Collecting events via REST API

The REST API enables data transmission of actors and events to Manufactory through various methods including REST API endpoints, websocket connections, and CLI agent integration.

Websocket > Connect to our Web Socket Server

After establishing a websocket connection with Manufactory Collector, users need to authenticate by sending a message containing their org ID, project ID, actor profile ID, and client UUID to pair the connection with the client.

Websocket > Send events via the web socket

Events can be transmitted through a websocket connection by sending a message containing a type and attributes object, which will receive a status confirmation reply.