Skip to content

jonaird/bitsocket_connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A plug and play Bitsocket for Flutter Web.

Usage

Connect to Bitsocket:

import 'package:bitsocket_connect/bitsocket_connect.dart';
var query = {
    'v': 3,
    'q': {
      'find': {},
      'project': {"tx.h": 1}
    }
  };
  
  void process(tx){
   print(tx);
  }

var bitsocket=Bitsocket();
bitsocket.connect(query,process);

Close the connection: bitsocket.close()

About

A plug and play Bitsocket connection for Flutter Web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages