Skip to content

Commit e8613be

Browse files
authored
Update README.md
1 parent 6a786b1 commit e8613be

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

README.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ $checkHost = new \ILYAGVC\CheckHost\CheckHost(
8787
**Sends a check request of a given type to selected nodes.**
8888

8989
| Parameter | Type | Description |
90-
| ----------- | -------- | ------------------------------------------------------------------------- |
91-
| `$host` | `string` | The target domain or IP to check |
92-
| `$type` | `string` | Type of check: one of `ping`, `http`, `tcp`, `udp`, `dns`, `traceroute` |
93-
| `$maxNodes` | `int` | Max number of nodes to use (`0` = all available nodes) |
90+
| ----------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
91+
| `$host` | `string` | The target domain or IP to check |
92+
| `$type` | `string` | Type of check: one of `ping`, `http`, `tcp`, `udp`, `dns`, `traceroute` |
93+
| `$maxNodes` | `int` | Maximum number of nodes to use. Any value other than `0` overrides the selected nodes and uses up to the specified number of available nodes (`0` = use selected nodes) |
9494

9595
---
9696

@@ -108,22 +108,22 @@ $checkHost = new \ILYAGVC\CheckHost\CheckHost(
108108

109109
**Combines `sendRequest()` and `getResults()` into one call.**
110110

111-
| Parameter | Type | Description |
112-
| ----------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
113-
| `$host` | `string` | The target domain or IP to check |
114-
| `$type` | `string` | Type of check: one of `ping`, `http`, `tcp`, `udp`, `dns`, `traceroute` |
115-
| `$maxNodes` | `int` | Maximum number of nodes to use. Any value other than `0` overrides the selected countries and uses up to the specified number of available nodes (`0` = use all available nodes) |
111+
| Parameter | Type | Description |
112+
| ----------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
113+
| `$host` | `string` | The target domain or IP to check |
114+
| `$type` | `string` | Type of check: one of `ping`, `http`, `tcp`, `udp`, `dns`, `traceroute` |
115+
| `$maxNodes` | `int` | Maximum number of nodes to use. Any value other than `0` overrides the selected nodes and uses up to the specified number of available nodes (`0` = use selected nodes) |
116116

117117
---
118118

119119
### `fullCheck(string $host, int|null): array|false`
120120

121121
**Performs all core tests (`ping`, `http`, `tcp`, `udp`, `dns`, `traceroute`) on the given host.**
122122

123-
| Parameter | Type | Description |
124-
| ----------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
125-
| `$host` | `string` | The target domain or IP to check |
126-
| `$maxNodes` | `int` | Maximum number of nodes to use. Any value other than `0` overrides the selected countries and uses up to the specified number of available nodes (`0` = use all available nodes) |
123+
| Parameter | Type | Description |
124+
| ----------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
125+
| `$host` | `string` | The target domain or IP to check |
126+
| `$maxNodes` | `int` | Maximum number of nodes to use. Any value other than `0` overrides the selected nodes and uses up to the specified number of available nodes (`0` = use selected nodes) |
127127

128128
---
129129

@@ -139,8 +139,6 @@ $checkHost = new \ILYAGVC\CheckHost\CheckHost(
139139

140140
### `setTimeout(int $seconds): void`
141141

142-
### `setTimeout(int $seconds): void`
143-
144142
**Sets the timeout for all result fetching requests.**
145143

146144
| Parameter | Type | Description |

0 commit comments

Comments
 (0)