Commit a0b3805
doc: make socket IPC examples more robust
This commit aims to improve the documentation examples that send
sockets over IPC channels. Specifically, pauseOnConnect is added
to a server that inspects the socket before sending and a
'message' handler adds a check that the socket still exists.
PR-URL: #13196
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>1 parent 4030c7e commit a0b3805Copy full SHA for a0b3805
File tree
Expand file treeCollapse file tree
1 file changed
+13
-3
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+13
-3
lines changedOpen diff view settings
Collapse file
+13-3Lines changed: 13 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1052 | 1052 | |
1053 | 1053 | |
1054 | 1054 | |
1055 | | - |
1056 | | - |
| 1055 | + |
| 1056 | + |
| 1057 | + |
1057 | 1058 | |
1058 | 1059 | |
1059 | 1060 | |
| ||
1073 | 1074 | |
1074 | 1075 | |
1075 | 1076 | |
1076 | | - |
| 1077 | + |
| 1078 | + |
| 1079 | + |
| 1080 | + |
| 1081 | + |
| 1082 | + |
1077 | 1083 | |
1078 | 1084 | |
1079 | 1085 | |
| ||
1083 | 1089 | |
1084 | 1090 | |
1085 | 1091 | |
| 1092 | + |
| 1093 | + |
| 1094 | + |
| 1095 | + |
1086 | 1096 | |
1087 | 1097 | |
1088 | 1098 | |
|
0 commit comments