Skip to content

Conversation

@aricart
Copy link
Member

@aricart aricart commented Sep 30, 2025

WsConnectionOptions is a ConnectionOptions that exposes wsFactory?: WsSocketFactory

This enables uses where the runtime is known to provide additional non-standard options that may be necessary for the connection but differ from standard W3C new WebSocket(url) usages.

This feature was implemented previously but internal.

…fying a WsSocketFactory, and referencing it in WsConnectionOptions.

WsConnectionOptions is a ConnectionOptions that exposes `wsFactory?: WsSocketFactory`

This enables uses where the runtime is known to provide additional options that may be necessary for the connection but differ from standard W3C `new WebSocket(url)` usages.

Signed-off-by: Alberto Ricart <[email protected]>
@aricart aricart requested a review from Jarema September 30, 2025 17:27
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@aricart aricart merged commit 5927e37 into main Oct 2, 2025
50 of 53 checks passed
@aricart aricart deleted the expose-ws-opts branch October 2, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants