Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@advanced-rest-client/arc-electron-payload-processor

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@advanced-rest-client/arc-electron-payload-processor

An electron module to transform ARC request data into a serializable form in the renderer process

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
3
Created
Source

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);
});

Keywords

arc

FAQs

Package last updated on 25 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts