Skip to content

Accept rawChannel or url for VncScreen component #42

@sklymoshenko

Description

@sklymoshenko

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

Basically we have our own required implementation of creating a ws connection. We are not relying on third-part libraries to do it for us. It covers for us security and auth etc.
noVnc package has support for accepting either url or already created ws channel to work with.

export default class RFB extends EventTargetMixin {
    constructor(target, urlOrChannel, options)     

So i am offering to accept not only url as string but alrerady created data channel and pass it to a rfb constructor.
Wath do you think ?

Thank you!

Proposed solution (optional)

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions