onPriorityUpdateReceived method

void onPriorityUpdateReceived(
  1. PriorityUpdateFrame frame
)

Process a received PRIORITY_UPDATE frame.

If a streamScheduler is set, the update is routed to it.

Implementation

void onPriorityUpdateReceived(PriorityUpdateFrame frame) {
  _pendingPriorityUpdates.add(frame);
  if (streamScheduler != null) {
    // Route to stream priority scheduler if one exists.
    // The current StreamScheduler interface is selection-only;
    // priority updates are stored for scheduler implementations
    // that may read them from the connection state.
  }
}