- Publicity: Public Only All
notification-sse-procs.tcl
Notifications Server Sent Events Delivery Method
- Location:
- packages/notifications/tcl/notification-sse-procs.tcl
- Created:
- 2024-12-19
- Author:
- Antonio Pisano
Procedures in this file
- notification::sse::channels (private)
- notification::sse::scan_replies (private)
- notification::sse::send (public)
- notification::sse::subscribe (private)
- notification::sse::unsubscribe (private)
Detailed information
notification::sse::channels (private)
notification::sse::channels to_user_id
- Parameters:
- to_user_id (required)
- Returns:
- list of channels
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
notification::sse::scan_replies (private)
notification::sse::scan_replies
Scan for replies
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
notification::sse::send (public)
notification::sse::send from_user_id to_user_id reply_object_id \
notification_type_id subject content_text content_html file_idsSend the notification.
- Parameters:
- from_user_id (required)
- to_user_id (required)
- reply_object_id (required)
- notification_type_id (required)
- subject (required)
- content_text (required)
- content_html (required)
- file_ids (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
notification::sse::subscribe (private)
notification::sse::subscribe subscription_id
Subscribe the current connection channel to notifications. This will detach the connection channel from the thread and abort the script.
- Parameters:
- subscription_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
notification::sse::unsubscribe (private)
notification::sse::unsubscribe channel subscription_id
Unsubscribe a channel from notifications.
- Parameters:
- channel (required)
- subscription_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.