Skip to content

Commit

Permalink
add RestartAfterListenError to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Olsen committed Aug 25, 2016
1 parent 911b4be commit 8766a15
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions readme.markdown
Expand Up @@ -108,6 +108,20 @@ server.Start(socket =>
});
```

Auto Restart After Listen Error
---

Set `RestartAfterListenError` to `true` on the `WebSocketConnection`

```cs
var server = new WebSocketServer("ws://0.0.0.0:8181");
server.RestartAfterListenError = true;
server.Start(socket =>
{
//...use as normal
});
```

License
---

Expand Down

0 comments on commit 8766a15

Please sign in to comment.