Skip to content

Commit

Permalink
Update README.md for _clientheaders and _sessionip (#242)
Browse files Browse the repository at this point in the history
I forgot to document the _sessionip pull I created and you committed years ago. figured I would add a blip on it as well for anyone using CTRL+F

Please read and change any explanation to how you think it should sound.
  • Loading branch information
meeki007 committed Jul 15, 2023
1 parent 1afcdde commit 42b763c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,11 @@ The **worldmap in** node can be used to receive various events from the map. Exa

If File Drop is enabled - then the map can accept files of type gpx, kml, nvg, jpeg, png and geojson. The file content property will always be a binary buffer. The lat, lon of the cursor drop point will be included. Tracks will be locally rendered on the map. The node-red-node-exif node can be used to extract location information from a jpeg image and then geolocate it back on the map. Png images will be located where they are dropped but can then be dragged if required.

All actions also include a `msg._sessionid` property that indicates which client session they came from. Any msg sent out that includes this property will ONLY be sent to that session - so you can target map updates to specific sessions if required.
All actions also include a:
`msg._sessionid` property that indicates which client session they came from. Any msg sent out that includes this property will ONLY be sent to that session - so you can target map updates to specific sessions if required.
'msg._sessionip' property that shows the ip of the client that is connected to the session.

Only actions "connected" include a msg._clientheaders property that shows the headers sent by the client to make a connection to the session.


### Utility functions
Expand Down

0 comments on commit 42b763c

Please sign in to comment.