diff --git a/DXFeedFrameworkTests/DXConnectionTest.swift b/DXFeedFrameworkTests/DXConnectionTest.swift index 610e9bb27..dfd867700 100644 --- a/DXFeedFrameworkTests/DXConnectionTest.swift +++ b/DXFeedFrameworkTests/DXConnectionTest.swift @@ -39,6 +39,8 @@ final class DXConnectionTest: XCTestCase { override class func setUp() { // The experimental property must be enabled. try? SystemProperty.setProperty("dxfeed.experimental.dxlink.enable", "true") + // Set scheme for dxLink. + try? SystemProperty.setProperty("scheme", "ext:resource:dxlink.xml") } func testDXLinkConnection() throws { diff --git a/README.md b/README.md index 41356ce3d..199fa3dcb 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,8 @@ class Listener: DXEventListener { // The experimental property must be enabled. try SystemProperty.setProperty("dxfeed.experimental.dxlink.enable", "true") - +// Set scheme for dxLink. +try SystemProperty.setProperty("scheme", "ext:resource:dxlink.xml") // For token-based authorization, use the following address format: // "dxlink:wss://demo.dxfeed.com/dxlink-ws[login=dxlink:token]" let endpoint = try DXEndpoint.builder()