Skip to content

Commit

Permalink
docs: add getCurrentStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Apr 18, 2015
1 parent f7361bd commit 2e78761
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Expand Up @@ -95,6 +95,21 @@ setTimeout(function () {

```

### `agent.getCurrentStatus()`

`agent.getCurrentStatus()` will return a object to show the status of this agent:

```js
{
createSocketCount: 10,
closeSocketCount: 5,
requestCount: 5,
freeSockets: { 'localhost:57479::': 3 },
sockets: { 'localhost:57479::': 5 },
requests: {}
}
```

### Support `https`

```js
Expand Down

0 comments on commit 2e78761

Please sign in to comment.