v1.1.2
signalr_core
Dart के लिए लिखा गया ASP.NET Core SignalR क्लाइंट जो प्लेटफॉर्म-स्वतंत्र है, और दोनों कमांड-लाइन और ब्राउज़र में उपयोग किया जा सकता है।
170लाइक 8.8 हज़ार30-दिन डाउनलोड130Pub अंक
AndroidiOSWebmacOSWindowsLinux
ASP.NET Core SignalR Dart क्लाइंट
^1.2.0^1.2.0^2.4.3^0.1.1^2.0.5^3.0.0^1.24.4यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
ASP.NET Core SignalR is an open-source library that simplifies adding real-time web functionality to apps. Real-time web functionality enables server-side code to push content to clients instantly. It's platform-independent, and can be used on both the command-line and the browser.
final connection = HubConnectionBuilder().withUrl('http://localhost:5000/chatHub',
HttpConnectionOptions(
logging: (level, message) => print(message),
)).build();
await connection.start();
connection.on('ReceiveMessage', (message) {
print(message.toString());
});
await connection.invoke('SendMessage', args: ['Bob', 'Says hi!']);