http2
http2 copied to clipboard
Can't catch exception occur during goaway frame
Hello! Thanks for the lib). I ran into the following problem. When server send me goaway frame, StreamHandler class create following exception:
StreamException( id, 'Remote end was telling us to stop. This stream was not processed ' 'and can therefore be retried (on a new connection).')
This StreamException class is not provide outside the http2 lib. I can check this exception only if i directly import it:
import 'package:http2/src/sync_errors.dart'
But it is not cool providing class this way) Maybe there is an any other way to check server send me goaway frame?