File: chat-websocket/node_modules/socket.io/node_modules/redis/examples/auth.js

Recommend this page to a friend!
  Classes of Igor Escobar   Terminal Crossword   ???   Download  
File: chat-websocket/node_modules/socket.io/node_modules/redis/examples/???
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Terminal Crossword
Generate a crosswords board on a text console
Author: By
Last change: Update of chat-websocket/node_modules/socket.io/node_modules/redis/examples/auth.js
Date: 16 days ago
Size: 182 bytes
 

Contents

Class file image Download
var redis = require("redis"), client = redis.createClient(); // This command is magical. Client stashes the password and will issue on every connect. client.auth("somepass");