You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.asciidoc
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,16 +60,17 @@ Basic Auth's password contains special characters such as a pound sign (`#`) or
60
60
For this reason, the client supports an extended host syntax which provides greater control over host initialization.
61
61
None of the components are validated, so edge-cases like underscores domain names will not cause problems.
62
62
63
-
The extended syntax is an array of parameters for each host:
63
+
The extended syntax is an array of parameters for each host. The structure of the parameter list is identical to the return values of a http://php.net/manual/en/function.parse-url.php#refsect1-function.parse-url-returnvalues[`parse_url()`] call:
64
64
65
65
[source,php]
66
66
----
67
67
$hosts = [
68
-
// This is effectively equal to: "https://username:password!#$?*abc@foo.com:9200/"
68
+
// This is effectively equal to: "https://username:password!#$?*abc@foo.com:9200/elastic"
0 commit comments