9
This commit is contained in:
parent
23bdb20846
commit
c460d26a7a
3 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
# angel_websocket
|
||||
[](https://pub.dartlang.org/packages/angel_websocket)
|
||||
[](https://pub.dartlang.org/packages/angel_websocket)
|
||||
[](https://travis-ci.org/angel-dart/websocket)
|
||||
|
||||
WebSocket plugin for Angel.
|
||||
|
|
|
@ -4,7 +4,7 @@ library angel_websocket.browser;
|
|||
import 'dart:async';
|
||||
import 'dart:html';
|
||||
import 'package:angel_client/angel_client.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:http/browser_client.dart' as http;
|
||||
import 'package:web_socket_channel/web_socket_channel.dart';
|
||||
import 'package:web_socket_channel/html.dart';
|
||||
import 'base_websocket_client.dart';
|
||||
|
@ -15,7 +15,7 @@ final RegExp _straySlashes = new RegExp(r"(^/)|(/+$)");
|
|||
|
||||
/// Queries an Angel server via WebSockets.
|
||||
class WebSockets extends BaseWebSocketClient {
|
||||
WebSockets(String path) : super(new http.Client(), path);
|
||||
WebSockets(String path) : super(new http.BrowserClient(), path);
|
||||
|
||||
@override
|
||||
Future<WebSocketChannel> getConnectedWebSocket() {
|
||||
|
|
|
@ -2,7 +2,7 @@ name: angel_websocket
|
|||
description: WebSocket plugin for Angel
|
||||
environment:
|
||||
sdk: ">=1.19.0"
|
||||
version: 1.0.0-dev+8
|
||||
version: 1.0.0-dev+9
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/angel_websocket
|
||||
dependencies:
|
||||
|
|
Loading…
Reference in a new issue