Adapter from a ReplayProtector to the server's VerifyMessageFn
shape. Frames whose first byte is the SIGNED_TAG are parsed and
verified; messages that aren't tagged are passed through (for clients
that don't sign). To force-reject unsigned messages, set
requireSigned: true.
Adapter from a
ReplayProtectorto the server'sVerifyMessageFnshape. Frames whose first byte is theSIGNED_TAGare parsed and verified; messages that aren't tagged are passed through (for clients that don't sign). To force-reject unsigned messages, setrequireSigned: true.