Tutorial

17. Require persisted operations

Since chapter 12 the hub has run persisted operations in shadow mode: every document it registered runs by id, anything sent as text runs too, and the hub logs what it would refuse. In this chapter it refuses. The hub then runs only documents it registered when it started, and nothing a caller writes.

This chapter starts from the end of chapter 16.

In this chapter

  1. What the hub registers
  2. Make the hub refuse
  3. What a caller sees
  4. What stops working
  5. Test it

SDK Reference

Turn on persisted operations | Persisted operations | PersistedOperationsBuilder


Next: 17.1 What the hub registers