librelist archives

« back to archive

Correct syntax for PSUBSCRIBE / PUNSUBSCRIBE

Correct syntax for PSUBSCRIBE / PUNSUBSCRIBE

From:
Alex Curtis
Date:
2014-10-23 @ 12:21
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1"><font face="Arial">Hi there,<br>
        <br>
        Can someone offer an example of how to do a PSUBSCRIBE and a
        PUNSUBSCRIBE please. I'm not able to get PSUBSCRIBE working,
        only SUBSCRIBE.<br>
        <br>
        I was assuming it would be something like <br>
        <br>
        redis ! brando.Request("PSUBSCRIBE", "level1.level2.*")<br>
        <br>
        but I get NoSuchElementExceptions.<br>
        <br>
        Can someone suggest how to do it please?<br>
        <br>
        Many tks<br>
        Alex<br>
        <br>
      </font></font>
  </body>
</html>