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: readme.md
+3
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,9 @@ Creates a new client instance.
56
56
*`host` (optional): The actual host to connect to if different from the URL, e.g., when deploying to a local server behind a firewall.
57
57
*`blogId` (optional; default: `0`): The blog ID for the WordPress install.
58
58
*`rejectUnauthorized` (optional; default: `true`): A boolean indicating whether Node.js should automatically reject clients with invalid certificates. See [tls.createSecurePair()](https://nodejs.org/api/tls.html#tls_tls_createsecurepair_context_isserver_requestcert_rejectunauthorized_options) in Node's documentation.
59
+
*`basicAuth` (optional): An object holding HTTP basic authentication credentials.
60
+
*`username`: The username for the HTTP basic auth.
61
+
*`password`: The password for the HTTP basic auth.
0 commit comments