Skip to content

MKhalidHossain/socket_base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket Base

Reusable Flutter Socket.IO asset built so the whole lib/socket_service/ folder can be copied into another project.

What is inside

  • Reusable SocketClient
  • Central SocketConfig
  • Event and exception models
  • Example usage file
  • Minimal demo app

Project structure

lib/
├── main.dart
└── socket_service/
    ├── README.md
    ├── examples.dart
    ├── index.dart
    ├── socket_client.dart
    ├── socket_config.dart
    ├── socket_events.dart
    ├── socket_exceptions.dart
    ├── socket_service.dart
    └── src/

Main module docs

See lib/socket_service/README.md for:

  • installation
  • quick start
  • available API
  • integration patterns
  • notes about disconnect() vs dispose()

Preferred import

import 'package:your_app/socket_service/socket_service.dart';

Local verification

flutter analyze
flutter test

About

A Flutter socket foundation real time connection manager built with Socket.IO for seamless bidirectional communication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors