169
edits
Line 96: | Line 96: | ||
The web app is able to send a message (i.e. the notification) to a specific user using a '''routing key''' that was given to it by the user's client. The routing key can be thought of as an address that specifies the destination "mailbox" of the message. The process from the point of view of the web app is as follows: | The web app is able to send a message (i.e. the notification) to a specific user using a '''routing key''' that was given to it by the user's client. The routing key can be thought of as an address that specifies the destination "mailbox" of the message. The process from the point of view of the web app is as follows: | ||
# Web app creates a JSON string | # Web app creates a JSON string encompassing the notification it wishes to send (as well as which user to send it to) | ||
# Web app sends the JSON string to the notification server. | |||
# Web app | |||
= Implementation = | = Implementation = |
edits