Frontend  0.4.1
Loading...
Searching...
No Matches
WsOtaService Class Reference
Inheritance diagram for WsOtaService:
Collaboration diagram for WsOtaService:

Public Member Functions

 WsOtaService (String domain)
 
override void write (Uint8List chunk)
 

Public Attributes

late final WebSocketChannel _channel
 
late final Stream< Uint8List > _stream
 
override int get closeCode => _channel.closeCode
 
override String get closeReason => closeCode != null ? 'Timeout' : null
 
override Future< void > get ready => _channel.ready
 
override Stream< Uint8List > get stream => _stream
 
- Public Attributes inherited from OtaService
int get closeCode
 
String get closeReason
 
Future< void > get ready
 
Stream< Uint8List > get stream
 

Additional Inherited Members

- Static Public Attributes inherited from OtaService
static const int ack = 0x06
 
static const int nak = 0x15
 

Constructor & Destructor Documentation

◆ WsOtaService()

WsOtaService::WsOtaService ( String domain)
inline

Member Function Documentation

◆ write()

override void WsOtaService::write ( Uint8List chunk)
inline

Member Data Documentation

◆ _channel

late final WebSocketChannel WsOtaService::_channel

◆ _stream

late final Stream<Uint8List> WsOtaService::_stream

◆ closeCode

override int get WsOtaService::closeCode => _channel.closeCode

◆ closeReason

override String get WsOtaService::closeReason => closeCode != null ? 'Timeout' : null

◆ ready

override Future<void> get WsOtaService::ready => _channel.ready

◆ stream

override Stream<Uint8List> get WsOtaService::stream => _stream

The documentation for this class was generated from the following file: