response-raw-viewer

WebJar for response-raw-viewer

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

org.webjars.bowergithub.advanced-rest-client
ArtifactId

ArtifactId

response-raw-viewer
Last Version

Last Version

2.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

response-raw-viewer
WebJar for response-raw-viewer
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/advanced-rest-client/response-raw-viewer

Download response-raw-viewer

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.advanced-rest-client/response-raw-viewer/ -->
<dependency>
    <groupId>org.webjars.bowergithub.advanced-rest-client</groupId>
    <artifactId>response-raw-viewer</artifactId>
    <version>2.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.advanced-rest-client/response-raw-viewer/
implementation 'org.webjars.bowergithub.advanced-rest-client:response-raw-viewer:2.0.2'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.advanced-rest-client/response-raw-viewer/
implementation ("org.webjars.bowergithub.advanced-rest-client:response-raw-viewer:2.0.2")
'org.webjars.bowergithub.advanced-rest-client:response-raw-viewer:jar:2.0.2'
<dependency org="org.webjars.bowergithub.advanced-rest-client" name="response-raw-viewer" rev="2.0.2">
  <artifact name="response-raw-viewer" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.advanced-rest-client', module='response-raw-viewer', version='2.0.2')
)
libraryDependencies += "org.webjars.bowergithub.advanced-rest-client" % "response-raw-viewer" % "2.0.2"
[org.webjars.bowergithub.advanced-rest-client/response-raw-viewer "2.0.2"]

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : iron-flex-layout jar [2.0.0,3)
org.webjars.bowergithub.advanced-rest-client : payload-parser-behavior jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

Deprecation notice

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

Published on NPM

Build Status

<response-raw-viewer>

An element to display the raw HTTP response data without syntax highlighting.

<response-raw-viewer responsetext="Some response"></response-raw-viewer>

Usage

Installation

npm install --save @advanced-rest-client/response-raw-viewer

In an html file

<html>
  <head>
    <script type="module">
      import '@advanced-rest-client/response-raw-viewer/response-raw-viewer.js';
    </script>
  </head>
  <body>
    <response-raw-viewer responsetext="Some response"></response-raw-viewer>
  </body>
</html>

In a LitElement

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

class SampleElement extends PolymerElement {
  render() {
    return html`
    <response-raw-viewer
      .responseText="${this.response}"></response-raw-viewer>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Development

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

Running the demo locally

npm start

Running the tests

npm test

API components

This components is a part of API components ecosystem

org.webjars.bowergithub.advanced-rest-client

ARC

A set of repositories related to the Advanced REST Client and API console (by Mulesoft)

Versions

Version
2.0.2