mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 12:45:50 +00:00
Update server regex to accommodate UDS (#944)
This commit is contained in:
committed by
Elliot Lee
parent
79971f906b
commit
b15abd5376
@@ -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.
|
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.
|
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**.
|
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.
|
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.
|
trace | boolean | *Optional* If true, log rippled requests and responses to stdout.
|
||||||
trustedCertificates | array\<string\> | *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.
|
trustedCertificates | array\<string\> | *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.
|
||||||
|
|||||||
@@ -18,9 +18,9 @@
|
|||||||
},
|
},
|
||||||
"server": {
|
"server": {
|
||||||
"type": "string",
|
"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",
|
"format": "uri",
|
||||||
"pattern": "^wss?://"
|
"pattern": "^(wss?|wss?\\+unix)://"
|
||||||
},
|
},
|
||||||
"proxy": {
|
"proxy": {
|
||||||
"format": "uri",
|
"format": "uri",
|
||||||
|
|||||||
Reference in New Issue
Block a user