Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.14 KB

File metadata and controls

58 lines (41 loc) · 1.14 KB
description
List, Insert And Remove Orakl Network Proxies

Proxy

The **Orakl Network ** state can store information about the multiple proxies. Proxies are can be utilized to fetch data by making requests through defined proxy configurations.

The Orakl Network CLI provides commands to

List Proxies

orakl-cli proxy list
[
  { id: '1', protocol: 'http', host: '127.0.0.1', port: 80},
  { id: '1', protocol: 'http', host: '127.0.0.1', port: 88'},
]

Insert New Proxy

Proxies can be added with a proxy insert command. A unique proxy can be added only once.

orakl-cli proxy insert \
    --protocol ${protocol} \
    --host ${host} \
    --port ${port}
  • example
orakl-cli proxy insert --protocol http --host 127.0.0.1 --port 80

Remove Proxy Specified By id

Proxies can be removed when there are no association to them yet.

orakl-cli proxy remove \
    --id ${id}
  • example
orakl-cli proxy remove --id 15