diff --git a/docs/index.md b/docs/index.md index a9863cdc..914112c9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -160,7 +160,7 @@ maxFeeXRP | string | *Optional* Maximum fee to use with transactions, in XRP. Mu passphrase | string | *Optional* The passphrase for the private key of the client. proxy | uri string | *Optional* URI for HTTP/HTTPS proxy to use to connect to the rippled server. proxyAuthorization | string | *Optional* Username and password for HTTP basic authentication to the proxy in the format **username:password**. -server | uri string | *Optional* URI for rippled websocket port to connect to. Must start with `wss://` or `ws://`. +server | uri string | *Optional* URI for rippled websocket port to connect to. Must start with `wss://`, `ws://`, `wss+unix://`, or `ws+unix://`. timeout | integer | *Optional* Timeout in milliseconds before considering a request to have failed. trace | boolean | *Optional* If true, log rippled requests and responses to stdout. trustedCertificates | array\ | *Optional* Array of PEM-formatted SSL certificates to trust when connecting to a proxy. This is useful if you want to use a self-signed certificate on the proxy server. Note: Each element must contain a single certificate; concatenated certificates are not valid. diff --git a/src/common/schemas/input/api-options.json b/src/common/schemas/input/api-options.json index 1cc118b8..d8b618de 100644 --- a/src/common/schemas/input/api-options.json +++ b/src/common/schemas/input/api-options.json @@ -18,9 +18,9 @@ }, "server": { "type": "string", - "description": "URI for rippled websocket port to connect to. Must start with `wss://` or `ws://`.", + "description": "URI for rippled websocket port to connect to. Must start with `wss://`, `ws://`, `wss+unix://`, or `ws+unix://`.", "format": "uri", - "pattern": "^wss?://" + "pattern": "^(wss?|wss?\\+unix)://" }, "proxy": { "format": "uri",