Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Part 2: Creating dchat

Now that we’ve deployed a local version of the p2p network, we can start creating a custom protocol and message types that dchat will use to send and receive messages across the network.

This section will cover:

  • The Message type
  • Protocols and the ProtocolRegistry
  • The MessageSubsystem
  • MessageSubscription
  • Channel
  • JSON-RPC RequestHandler
  • StoppableTask