diff --git a/reference.html b/reference.html index 3ebd39a..57c71aa 100644 --- a/reference.html +++ b/reference.html @@ -425,7 +425,7 @@ require a server response.

Arguments:

  1. subject: A valid subject (string, number or object with - specific keys)
  2. + specific keys), or an Array of subjects
  3. messages (optional): An integer number of historical messages to retrieve from this subject if available. 0 means no messages; -1 means all messages.
  4. lastID (optional): The id field from the last message received by the client. @@ -435,7 +435,8 @@ require a server response.

    Returns: A Promise that resolves with no arguments on success, or rejects with no arguments if the client -is denied access to read the subject.

    +is denied access to read the subject. If the subject argument was an Array of +subjects, returns an Array of Promises that correspond.

    subscribe() creates a subscription on the server to a particular subject. The subscription is tied to our current instance but is re-created