shelf_web_socket 0.2.4+1 copy "shelf_web_socket: ^0.2.4+1" to clipboard
shelf_web_socket: ^0.2.4+1 copied to clipboard

outdated

A shelf handler that wires up a listener for every connection.

0.2.4+1 #

  • Support the latest package:web_socket_channel.

0.2.4 #

  • Support the latest shelf release (1.x.x).
  • Require at least Dart 2.1
  • Allow omitting protocols argument even if the onConnection callback takes a second argument.

0.2.3 #

  • Add pingInterval argument to webSocketHandler, to be passed through to the created channel.

0.2.2+5 #

  • Allow stream_channel version 2.x

0.2.2+4 #

  • Fix the check for onConnection to check the number of arguments and not that the arguments are dynamic.

0.2.2+3 #

  • Set max SDK version to <3.0.0, and adjust other dependencies.

0.2.2+2 #

  • Stopped using deprected HTML_ESCAPE constant name.

0.2.2+1 #

  • Update SDK version to 2.0.0-dev.17.0.

0.2.2 #

  • Stop using comment-based generic syntax.

0.2.1 #

  • Fix all strong-mode warnings.

0.2.0 #

  • Breaking change: webSocketHandler() now uses the WebSocketChannel class defined in the web_socket_channel package, rather than the deprecated class defined in http_parser.

0.1.0 #

  • Breaking change: webSocketHandler() now passes a WebSocketChannel to the onConnection() callback, rather than a deprecated CompatibleWebSocket.

0.0.1+5 #

  • Support http_parser 2.0.0.

0.0.1+4 #

  • Fix a link to shelf in the README.

0.0.1+3 #

  • Support http_parser 1.0.0.

0.0.1+2 #

  • Mark as compatible with version 0.6.0 of shelf.

0.0.1+1 #

  • Properly parse the Connection header. This fixes an issue where Firefox was unable to connect.
110
likes
30
pub points
99%
popularity

Publisher

verified publishertools.dart.dev

A shelf handler that wires up a listener for every connection.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

shelf, stream_channel, web_socket_channel

More

Packages that depend on shelf_web_socket