Door Games Unlimited

Welcome, Guest.


Subject: Network messsage information missing Date: Wed Oct 21 2015 13:36:27
From: echicken To: Nightfox

> I had a look at the headers in JavaScript.  For instance, if I have a message 
header object called msgHdr, I did this:
                                        > for (var property in msgHdr)
                                                                      >    conso
le.print(property + ": " + msgHdr[property] + "\r\n");
                                                      
                                                      You might try 'console.pri
nt(JSON.stringify(msgHdr));' to get a bit more depth.  The header has a 'field_l
ist' property which (the docs suggest anyway) is an array of objects each with '
.type' and '.data' properties.  Iterating over top-level properties would miss t
his (or just show [Object object] or somesuch as the value for this property.)
                                                                              
                                                                              Of
 course, I don't know what you'll find in that array, but it might be a place wh
ere any unaccounted-for header fields get stuffed into.
                                                       
                                                       ---
                                                          echicken 
                                                                   electronic ch
icken bbs - bbs.electronicchicken.com - 416-273-7230

---
 ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com

Previous Message       Next Message
In Reply To: Network messsage information missing (Nightfox)
Replies: weird message formatting (tracker1)Network messsage information missing (Nightfox)