Skip to content

Watson region streaming endpoints #407

@mediumTaj

Description

@mediumTaj

The correct streaming endpoint is

wss://stream-fra.watsonplatform.net

Add these checks to WSConnector.cs FixupURL() method and account for and test in other regions.

else if (URL.StartsWith("http://gateway-fra."))
    URL = URL.Replace("http://gateway-fra.", "ws://stream-fra.");
else if (URL.StartsWith("https://gateway-fra."))
    URL = URL.Replace("https://gateway-fra.", "wss://stream-fra.");

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions