paynal

Last updated:

0 purchases

paynal Image
paynal Images
Add to Cart

Description:

paynal

Paynal #
Dart STOMP client implementation.
Paynal is a simple STOMP v1.2 implementation. STOMP (The Simple Text Oriented Messaging Protocol) is a very simple and easy to implement protocol, coming from the HTTP school of design.
Usage: #
import 'package:paynal/paynal.dart';

void main() {
PaynalWebSocket('ws://127.0.0.1:15674/ws', 'guest', 'guest',
onConnect: (socket) {
final subscription = socket.subscribe('/queue/example', print);
socket.send('/queue/example', body: 'example from socket 1');
socket.send('/queue/example', body: 'example from socket 2');
socket.send('/queue/example', body: 'example from socket 3');
socket.send('/queue/example', body: 'example from socket 4');
subscription.unsubscribe();
socket.send('/queue/example', body: 'example from socket 5');
});
}
copied to clipboard
Support: #

✅ CONNECTED
✅ CONNECT
✅ SUBSCRIBE
✅ MESSAGE
✅ SEND
✅ UNSUBSCRIBE
❌ ERROR
❌ ACK
❌ NACK
❌ BEGIN
❌ COMMIT
❌ ABORT

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.