shelf_web_socket 0.2.0 copy "shelf_web_socket: ^0.2.0" to clipboard
shelf_web_socket: ^0.2.0 copied to clipboard

outdatedDart 1 only

A WebSocket handler for Shelf.

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.