@@ -407,7 +407,7 @@ $second = new React\Socket\Server(8080, $loop);
407
407
See the exception message and code for more details about the actual error
408
408
condition.
409
409
410
- Optionally, you can specify [ TCP socket context options] ( http ://php.net/manual/en/context.socket.php)
410
+ Optionally, you can specify [ TCP socket context options] ( https ://www. php.net/manual/en/context.socket.php)
411
411
for the underlying stream socket resource like this:
412
412
413
413
``` php
@@ -420,7 +420,7 @@ $server = new React\Socket\Server('[::1]:8080', $loop, array(
420
420
));
421
421
```
422
422
423
- > Note that available [ socket context options] ( http ://php.net/manual/en/context.socket.php) ,
423
+ > Note that available [ socket context options] ( https ://www. php.net/manual/en/context.socket.php) ,
424
424
their defaults and effects of changing these may vary depending on your system
425
425
and/or PHP version.
426
426
Passing unknown context options has no effect.
@@ -431,7 +431,7 @@ You can start a secure TLS (formerly known as SSL) server by simply prepending
431
431
the ` tls:// ` URI scheme.
432
432
Internally, it will wait for plaintext TCP/IP connections and then performs a
433
433
TLS handshake for each connection.
434
- It thus requires valid [ TLS context options] ( http ://php.net/manual/en/context.ssl.php) ,
434
+ It thus requires valid [ TLS context options] ( https ://www. php.net/manual/en/context.ssl.php) ,
435
435
which in its most basic form may look something like this if you're using a
436
436
PEM encoded certificate file:
437
437
@@ -473,7 +473,7 @@ $server = new React\Socket\Server('tls://127.0.0.1:8000', $loop, array(
473
473
));
474
474
```
475
475
476
- > Note that available [ TLS context options] ( http ://php.net/manual/en/context.ssl.php) ,
476
+ > Note that available [ TLS context options] ( https ://www. php.net/manual/en/context.ssl.php) ,
477
477
their defaults and effects of changing these may vary depending on your system
478
478
and/or PHP version.
479
479
The outer context array allows you to also use ` tcp ` (and possibly more)
@@ -561,7 +561,7 @@ configuration.
561
561
See the exception message and code for more details about the actual error
562
562
condition.
563
563
564
- Optionally, you can specify [ socket context options] ( http ://php.net/manual/en/context.socket.php)
564
+ Optionally, you can specify [ socket context options] ( https ://www. php.net/manual/en/context.socket.php)
565
565
for the underlying stream socket resource like this:
566
566
567
567
``` php
@@ -572,7 +572,7 @@ $server = new React\Socket\TcpServer('[::1]:8080', $loop, array(
572
572
));
573
573
```
574
574
575
- > Note that available [ socket context options] ( http ://php.net/manual/en/context.socket.php) ,
575
+ > Note that available [ socket context options] ( https ://www. php.net/manual/en/context.socket.php) ,
576
576
their defaults and effects of changing these may vary depending on your system
577
577
and/or PHP version.
578
578
Passing unknown context options has no effect.
@@ -598,7 +598,7 @@ and is responsible for providing a secure TLS (formerly known as SSL) server.
598
598
599
599
It does so by wrapping a [ ` TcpServer ` ] ( #tcpserver ) instance which waits for plaintext
600
600
TCP/IP connections and then performs a TLS handshake for each connection.
601
- It thus requires valid [ TLS context options] ( http ://php.net/manual/en/context.ssl.php) ,
601
+ It thus requires valid [ TLS context options] ( https ://www. php.net/manual/en/context.ssl.php) ,
602
602
which in its most basic form may look something like this if you're using a
603
603
PEM encoded certificate file:
604
604
@@ -637,7 +637,7 @@ $server = new React\Socket\SecureServer($server, $loop, array(
637
637
));
638
638
```
639
639
640
- > Note that available [ TLS context options] ( http ://php.net/manual/en/context.ssl.php) ,
640
+ > Note that available [ TLS context options] ( https ://www. php.net/manual/en/context.ssl.php) ,
641
641
their defaults and effects of changing these may vary depending on your system
642
642
and/or PHP version.
643
643
Passing unknown context options has no effect.
@@ -1048,8 +1048,8 @@ $connector = new React\Socket\Connector($loop, array(
1048
1048
```
1049
1049
1050
1050
> For more details about context options, please refer to the PHP documentation
1051
- about [ socket context options] ( http ://php.net/manual/en/context.socket.php)
1052
- and [ SSL context options] ( http ://php.net/manual/en/context.ssl.php) .
1051
+ about [ socket context options] ( https ://www. php.net/manual/en/context.socket.php)
1052
+ and [ SSL context options] ( https ://www. php.net/manual/en/context.ssl.php) .
1053
1053
1054
1054
Advanced: By default, the ` Connector ` supports the ` tcp:// ` , ` tls:// ` and
1055
1055
` unix:// ` URI schemes.
@@ -1127,7 +1127,7 @@ resource, thus cancelling the pending TCP/IP connection, and reject the
1127
1127
resulting promise.
1128
1128
1129
1129
You can optionally pass additional
1130
- [ socket context options] ( http ://php.net/manual/en/context.socket.php)
1130
+ [ socket context options] ( https ://www. php.net/manual/en/context.socket.php)
1131
1131
to the constructor like this:
1132
1132
1133
1133
``` php
@@ -1239,7 +1239,7 @@ Calling `cancel()` on a pending promise will cancel the underlying TCP/IP
1239
1239
connection and/or the SSL/TLS negotiation and reject the resulting promise.
1240
1240
1241
1241
You can optionally pass additional
1242
- [ SSL context options] ( http ://php.net/manual/en/context.ssl.php)
1242
+ [ SSL context options] ( https ://www. php.net/manual/en/context.ssl.php)
1243
1243
to the constructor like this:
1244
1244
1245
1245
``` php
@@ -1354,7 +1354,7 @@ This project follows [SemVer](https://semver.org/).
1354
1354
This will install the latest supported version:
1355
1355
1356
1356
``` bash
1357
- $ composer require react/socket:^1.2.1
1357
+ $ composer require react/socket:^1.3
1358
1358
```
1359
1359
1360
1360
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
0 commit comments