Class: Notification

Notification(properties, headers)

Notification message descriptor

Constructor

new Notification(properties, headers)

Parameters:
Name Type Description
properties Object Notification properties. Properties are shorthand for serveral HTTP header field values.
headers Object Custom message headers
Source:

Classes

Notification

Members

interval

Get notification timeout from Cache-Control HTTP header
Source:

interval

Set Cache-Control max-age value
Source:

key

For internal use
Source:

subject

Get notification subject (HT HTTP header)
Source:

subject

Set Notification subject (HT HTTP header)
Source:

type

Get Notification type (HTS HTTP header)
Source:

type

Set Notification type (HTS HTTP header)
Source:

usn

Get USN HTTP header field
Source:

usn

Set USN HTTP header field
Source:

Methods

toString() → {string}

Source:
Returns:
- NOTIFY request message
Type
string