Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@advanced-rest-client/arc-response

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@advanced-rest-client/arc-response

A module containing the UI regions and the logic to render and support HTTP response in Advanced REST Client.

  • 0.3.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Deprecated

This component is deprecated. Use @advanced-rest-client/app instead.


A module containing the UI regions and the logic to render and support HTTP response in Advanced REST Client.

Published on NPM

Tests and publishing

Usage

Installation

npm install --save @advanced-rest-client/arc-response

request-timings and request-timings-panel

An element to render request timings information from HAR 1.2 timings object. The "panel" element renders a series of timings, including redirects.

Example

import { LitElement, html } from 'lit-element';
import '@advanced-rest-client/arc-response/request-timings.js';

class SampleElement extends LitElement {
  render() {
    return html`
    <request-timings .timings="${this.har}"></request-timings>
    `;
  }
}
customElements.define('sample-element', SampleElement);

response-view

The main response view for the Advanced REST Client. It takes the ARC request object with the transport request data and the response data set on the element to generate the view from the data. The request and response objects types are defined in arc-types as ArcRequest.TransportRequest and ArcResponse.Response.

response-body

An element to render the response visualization matched its content type header of the response. In most cases it renders highlighted code via PrismJS. In some cases it renders specialized view for PDF, binary, and image files.

response-highlight

An element that performs syntax highlighting for the current body.

Development

git clone https://github.com/advanced-rest-client/arc-response
cd arc-response
npm install

Running the demo locally

npm start

Running the tests

npm test

Keywords

FAQs

Package last updated on 28 Aug 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc