This repository was archived by the owner on Jan 6, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 6 files changed +9
-7
lines changed Expand file tree Collapse file tree 6 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 4747      matrix :
4848        #  Add macos-latest and/or windows-latest if relevant for this package.
4949        os : [ubuntu-latest] 
50-         sdk : [3.2.0 , dev] 
50+         sdk : [3.3 , dev] 
5151    steps :
5252      - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 
5353      - uses : dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 
Original file line number Diff line number Diff line change 11## 4.1.5-wip  
22
33-  Drop unneeded dependency on ` package:js ` .
4+ -  Update the minimum Dart SDK version to ` 3.3.0 ` .
5+ -  Support the latest ` package:web ` .
46
57## 4.1.4  
68
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import 'package:sse/server/sse_handler.dart';
77
88/// A basic server which sets up an SSE handler. 
99/// 
10- /// When a client connnects  it will send a simple message and print the 
10+ /// When a client connects  it will send a simple message and print the 
1111/// response. 
1212void  main () async  {
1313  var  handler =  SseHandler (Uri .parse ('/sseHandler' ));
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import 'dart:js_interop';
99import  'package:logging/logging.dart' ;
1010import  'package:pool/pool.dart' ;
1111import  'package:stream_channel/stream_channel.dart' ;
12- import  'package:web/helpers .dart' ;
12+ import  'package:web/web .dart' ;
1313
1414import  '../src/util/uuid.dart' ;
1515
@@ -21,7 +21,7 @@ import '../src/util/uuid.dart';
2121/// Note Chrome's limit is 6000. So this gives us plenty of headroom. 
2222final  _requestPool =  Pool (1000 );
2323
24- /// A client for bi-directional sse communcation . 
24+ /// A client for bi-directional sse communication . 
2525/// 
2626/// The client can send any JSON-encodable messages to the server by adding 
2727/// them to the [sink]  and listen to messages from the server on the [stream] . 
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ description: >-
77repository : https://github.com/dart-lang/sse 
88
99environment :
10-   sdk : ^3.2 .0 
10+   sdk : ^3.3 .0 
1111
1212dependencies :
1313  async : ^2.0.8 
@@ -16,7 +16,7 @@ dependencies:
1616  pool : ^1.5.0 
1717  shelf : ^1.1.0 
1818  stream_channel : ^2.0.0 
19-   web : ' >=0.3.0 <0. 5.0' 
19+   web : ^0. 5.0
2020
2121dev_dependencies :
2222  dart_flutter_team_lints : ^2.0.0 
Original file line number Diff line number Diff line change 33// BSD-style license that can be found in the LICENSE file. 
44
55import  'package:sse/client/sse_client.dart' ;
6- import  'package:web/helpers .dart' ;
6+ import  'package:web/web .dart' ;
77
88void  main () {
99  var  channel =  SseClient ('/test' );
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments