onTerminated property

set onTerminated (void value(int?))

Sets the termination handler on this stream.

The handler will be called if the stream receives an RST_STREAM frame.

Implementation

set onTerminated(void Function(int?) value);