@@ -263,7 +263,7 @@ Stomp.prototype.connect = function() {
263
263
_connect ( this ) ;
264
264
} ;
265
265
266
- // ## Stomp.handle\_new_frame()
266
+ // ## Stomp.handle\_new_frame(frame )
267
267
//
268
268
// **Handle frame based on type. Emit events when needed.**
269
269
//
@@ -340,7 +340,7 @@ Stomp.prototype.subscribe = function(headers, callback) {
340
340
} ;
341
341
342
342
//
343
- // ## Stomp.unsubscribe()
343
+ // ## Stomp.unsubscribe(headers )
344
344
//
345
345
// **Unsubscribe from destination (queue or topic)**
346
346
//
@@ -355,7 +355,7 @@ Stomp.prototype.unsubscribe = function(headers) {
355
355
} ;
356
356
357
357
//
358
- // ## Stomp.ack()
358
+ // ## Stomp.ack(message_id )
359
359
//
360
360
// **Acknowledge received message**
361
361
//
@@ -381,7 +381,7 @@ Stomp.prototype.begin = function() {
381
381
} ;
382
382
383
383
//
384
- // ## Stomp.commit()
384
+ // ## Stomp.commit(transaction_id )
385
385
//
386
386
// **Commit transaction**
387
387
//
@@ -393,7 +393,7 @@ Stomp.prototype.commit = function(transaction_id) {
393
393
} ;
394
394
395
395
//
396
- // ## Stomp.abort()
396
+ // ## Stomp.abort(transaction_id )
397
397
//
398
398
// **Abort transaction**
399
399
//
@@ -405,13 +405,13 @@ Stomp.prototype.abort = function(transaction_id) {
405
405
} ;
406
406
407
407
//
408
- // ## Stomp.send()
408
+ // ## Stomp.send(headers, want_receipt )
409
409
//
410
410
// **Send MESSAGE to STOMP broker**
411
411
//
412
412
// Takes a header object (destination is required)
413
413
//
414
- // Takes a boolean requesting recipt of the sent message
414
+ // Takes a boolean requesting receipt of the sent message
415
415
//
416
416
// Returns a `Frame` object representing the message sent
417
417
//
0 commit comments