Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.5

* Increase the SDK version constraint to `<2.0.0-dev.infinity`.

## 1.0.4

* Support `crypto` 2.0.0.
Expand Down
2 changes: 2 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
analyzer:
strong-mode: true
2 changes: 2 additions & 0 deletions lib/html.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

library web_socket_channel.html;

import 'dart:async';
import 'dart:html';
import 'dart:typed_data';
Expand Down
2 changes: 2 additions & 0 deletions lib/io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

library web_socket_channel.io;

import 'dart:async';
import 'dart:io';

Expand Down
12 changes: 0 additions & 12 deletions lib/src/copy/web_socket_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,6 @@ class _WebSocketOpcode {
static const int RESERVED_F = 15;
}

/**
* Stores the header and integer value derived from negotiation of
* client_max_window_bits and server_max_window_bits. headerValue will be
* set in the Websocket response headers.
*/
class _CompressionMaxWindowBits {
String headerValue;
int maxWindowBits;
_CompressionMaxWindowBits([this.headerValue, this.maxWindowBits]);
String toString() => headerValue;
}

/**
* The web socket protocol transformer handles the protocol byte stream
* which is supplied through the [:handleData:]. As the protocol is processed,
Expand Down
2 changes: 2 additions & 0 deletions lib/status.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
/// channel.close(status.goingAway);
/// }
/// ```
library web_socket_channel.status;

import 'dart:core';

/// The purpose for which the connection was established has been fulfilled.
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: web_socket_channel
version: 1.0.5-dev
version: 1.0.5
description: StreamChannel wrappers for WebSockets.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/web_socket_channel

environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.13.0 <2.0.0-dev.infinity'

dependencies:
async: '^1.3.0'
Expand Down