From 78455ad14bf65318a55c8ddc57a3e4115385532d Mon Sep 17 00:00:00 2001 From: AKosylo Date: Tue, 23 Jan 2024 18:30:57 +0300 Subject: [PATCH] update readme --- DXFeedFrameworkTests/DXConnectionTest.swift | 2 +- README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DXFeedFrameworkTests/DXConnectionTest.swift b/DXFeedFrameworkTests/DXConnectionTest.swift index 1da681cec..9867d4d3f 100644 --- a/DXFeedFrameworkTests/DXConnectionTest.swift +++ b/DXFeedFrameworkTests/DXConnectionTest.swift @@ -39,7 +39,7 @@ final class DXConnectionTest: XCTestCase { // 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") + try? SystemProperty.setProperty("scheme", "ext:opt:sysprops,resource:dxlink.xml") } func testDXLinkConnection() throws { diff --git a/README.md b/README.md index 2cb463566..d0cefcb49 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,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") +try SystemProperty.setProperty("scheme", "ext:opt:sysprops,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().build()