[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [local‑first/Protocol](https://evolu.dev/docs/api-reference/common/local-first/Protocol) › MessageType

```ts
const MessageType: {
  Broadcast: 2;
  Request: 0;
  Response: 1;
};
```

Defined in: [packages/common/src/local-first/Protocol.ts:395](https://github.com/evoluhq/evolu/blob/113517df8a8da4e4eed41363077878e657b22fca/packages/common/src/local-first/Protocol.ts#L395)

## Type Declaration

| Name                                        | Type | Default value | Description                                                         | Defined in                                                                                                                                                                         |
| ------------------------------------------- | ---- | ------------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="property-broadcast"></a> `Broadcast` | `2`  | `2`           | Broadcast message from non-initiator (relay) to subscribed clients. | [packages/common/src/local-first/Protocol.ts:401](https://github.com/evoluhq/evolu/blob/113517df8a8da4e4eed41363077878e657b22fca/packages/common/src/local-first/Protocol.ts#L401) |
| <a id="property-request"></a> `Request`     | `0`  | `0`           | Request message from initiator (client) to non-initiator (relay).   | [packages/common/src/local-first/Protocol.ts:397](https://github.com/evoluhq/evolu/blob/113517df8a8da4e4eed41363077878e657b22fca/packages/common/src/local-first/Protocol.ts#L397) |
| <a id="property-response"></a> `Response`   | `1`  | `1`           | Response message from non-initiator (relay) to initiator (client).  | [packages/common/src/local-first/Protocol.ts:399](https://github.com/evoluhq/evolu/blob/113517df8a8da4e4eed41363077878e657b22fca/packages/common/src/local-first/Protocol.ts#L399) |