ably-cocoa icon indicating copy to clipboard operation
ably-cocoa copied to clipboard

Use endpoint as default connection option (ADR-119)

Open maratal opened this issue 4 months ago • 0 comments

Need implementation for ADR-119[1], which specifies the client connection options to update requests to the endpoints implemented as part of ADR-042[2].

The endpoint may be one of the following:

a routing policy name (such as main)
a nonprod routing policy name (such as nonprod:sandbox)
a FQDN such as foo.example.com

The endpoint option is not valid with any of environment, restHost or realtimeHost, but we still intend to support the legacy options.

If the client has been configured to use any of these legacy options, then they should continue to work in the same way, using the same primary and fallback hostnames.

If the client has not been explicitly configured, then the hostnames will change to the new ably.net domain when the package is upgraded.

(copied from https://github.com/ably/ably-js/pull/1973)

ADR: https://ably.atlassian.net/wiki/spaces/ENG/pages/3428810778/ADR-119+ClientOptions+for+new+DNS+structure

Spec PR: https://github.com/ably/specification/pull/213

ably-js implementation: https://github.com/ably/ably-js/pull/1973

ably-go implementation: https://github.com/ably/ably-go/pull/679

┆Issue is synchronized with this Jira Task by Unito

maratal avatar Aug 28 '25 19:08 maratal