# rpc-client

> JSON RPC client with ssl support

Latest version **1.0.1** (published 2015-02-10) · 0 weekly downloads

## Install

```sh
npm install rpc-client
pnpm add rpc-client
yarn add rpc-client
bun add rpc-client
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-02-10 |
| First published | 2015-02-10 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.6 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Victor Bucataru |
| Maintainers | devktor |

## Links

- npm: https://www.npmjs.com/package/rpc-client
- npm.io page: https://npm.io/package/rpc-client

## Dependencies (1)

- [coffee-script](https://npm.io/package/coffee-script.md) *

## Recent versions

- 1.0.1 (latest) — 2015-02-10
- 1.0.0 — 2015-02-10

## README

##rpc-client
JSON RPC client for node.js with ssl support

###installation
```bash
npm install rpc-client
```

###usage

Include library
```javascript
Client = require("rpc-client");
```

Create client object
```javascript
client = new Client({host:"localhost",port:"8080", protocol:"https"});
```

Optionally set authentication
```javascript
client.setBasicAuth("john", "correcthorsebatterystaple");
```

Execute remote methods
```javascript
client.call("multiply", [1,2,4], function(err, result){})
```

---
_Source: https://npm.io/package/rpc-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
