Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kosyloa committed Jan 23, 2024
1 parent 074b705 commit 78455ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DXFeedFrameworkTests/DXConnectionTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 78455ad

Please sign in to comment.