1.0.2 • Published 3 years ago

@advanced-rest-client/arc-electron-payload-processor v1.0.2

Weekly downloads
20
License
Apache-2.0
Repository
github
Last release
3 years ago

ARC payload processor

A class that is responsible for processing payload message and prepare it to be stored in the data store and restoring corresponding data when restoring from the store.

Example

Storing FormData

const fd = new FormData();
fs.add('field', new Blob(['test']));

PayloadProcessor.payloadToString({payload: fd})
.then((result) => {
  console.log(result);
});

Storing Blob

PayloadProcessor.payloadToString({payload: new Blob(['test'])})
.then((result) => {
  console.log(result);
});
1.0.2

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

6 years ago

0.1.0

6 years ago