serverFrame method

List<ContractViolation> serverFrame(
  1. Map<String, Object?> frame
)

Validates a gateway frame {op, d} the server sends; a dispatch is checked against the event schema of its type (asyncapi event.<type>).

Implementation

List<ContractViolation> serverFrame(Map<String, Object?> frame) =>
    _frame(frame, _serverOps, dispatch: true);