import { EMType } from "https://deno.land/x/ddapps@1.6.5/messages.ts";
List of Messages available. Use it for a stronger typing.
Members
Message sent to clients as a notification (client won't close connection on reception) It contains the operation that has been performed
A peer exposes the /discovery endpoint that returns the peer IP (legacy) This message is sent to Logger to indicate a peer has call the endpoint (the remote peer is thus in the discovery phase)
Emitted during the network initialisation to indicate whether a peer to join has been found. The message is always emitted even if --discovery is disabled
Message sent by DDAPPS to all components just after the server started. Use it an initialisation hook
Currently only used by Client but not emitted by server Indicates that the Client formulated an invalid ClientRequest
When a message destination is an IP or a Hostname, the Net will try to send it on the network This message is emitted if Net didn't find the corresponding Client or RemotePeer
Get notified when a monitoring value changes. Monitor will send ClientNotification to notify the initiator