@advanced-rest-client/host-rules-editor

An element to render host rules mapping

Usage no npm install needed!

<script type="module">
  import advancedRestClientHostRulesEditor from 'https://cdn.skypack.dev/@advanced-rest-client/host-rules-editor';
</script>

README

host-rules-editor

An element to render a list of host rule mappings.

Published on NPM

Tests and publishing

Host rules

ARC's host rules allows to create internal mapping for the request engine to alter the connection URI keeping original Host header. This allows to tests virtual hosts configuration on the server.

When a request is made the rules are evaluated one after another to produce final request URL. This allows to define multiple rules that works on a previous evaluated URL. Lear more about host rules in ARC's wiki.

Usage

Installation

npm install --save @advanced-rest-client/host-rules-editor

Development

git clone https://github.com/advanced-rest-client/host-rules-editor
cd host-rules-editor
npm install

Running the demo locally

npm start

Running the tests

npm test