Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tormozz48 committed Sep 15, 2015
1 parent 4f46f9d commit 72a6131
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,23 +168,6 @@ mds.removeP('your-custom-key').then(function(result) {
mds.read('your-custom-key').pipe(fs.createWriteStream('./your-custom-key.txt'));
```

#### writeFromStream

Метод, принимающий в качестве значения для записи экземпляр класса Stream.
Позволяет осуществлять потоковую запись с помощью NodeJS Stream API.

Пример:

```
mds.writeFromStream('your-custom-key', fs.createReadStream('./your-custom-key.txt'))
.on('end', function () {
console.log('Success');
})
.on('error', function (error) {
console.error(error);
});
```

#### getFullUrl

Позволяет получить полный url для записи в mds по ключу.
Expand Down

0 comments on commit 72a6131

Please sign in to comment.