Skip to content

Utility to create proxy hooks #93

Open
@pi0

Description

@pi0

Describe the feature

Context: nitrojs/nitro#2886

A new createWebSocketProxy({ target: 'ws://external-url' }) would allow users (and frameworks) to create runtime-agnostic hooks that proxy connections to a remote backend.

Implementation details depend on CrossWS hooks and we might benefit from some native runtime-aware possibilities also (mainly to speed up or allow platform-specific protocols for example) therefore CrossWS core itself is probably the best place to develop and maintain this utility.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions