Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Include the new connection option in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike van Goor committed Feb 6, 2017
1 parent a3ebea2 commit 1766b3e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,15 @@ Connection sockets will use IPv6 by default where available. If you need to forc
$connection->setOption('force-ipv4', true);
```

### allow-self-signed

By default all ssl connections only accept officially signed certificates. Sometimes you need to connect to a irc server that uses a self signed certificate. If you need to allow connections to servers using a self signed certificate, set this option to `true`.

```php
<?php
$connection->setOption('allow-self-signed', true);
```

### transport

By default, a standard TCP socket is used. For IRC servers that support TLS or SSL, specify an [appropriate transport](http://www.php.net/manual/en/transports.inet.php).
Expand Down

0 comments on commit 1766b3e

Please sign in to comment.