> For the complete documentation index, see [llms.txt](https://m-ahmed310.gitbook.io/fignet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://m-ahmed310.gitbook.io/fignet/api/ihandler.md).

# IHandler

Handlers are used to receive In coming data (messages) in object oriented way

```csharp
public interface IHandler
{
    ushort MsgId { get; }
    void HandleMessage(Message message, uint PeerId);
}
```
