getStreamLimit method

  1. @override
int getStreamLimit(
  1. Direction direction
)
override

GetStreamLimit returns the stream limit, for inbound or outbound streams.

Implementation

@override
int getStreamLimit(Direction direction) {
  return direction == Direction.inbound ? streamsInbound : streamsOutbound;
}