Skip to content

Expose javascript API #7

Description

It'd be nice if there was an API exported from the javascript version.

I'd like to just do something like this to start the server in my own application:

var websockify = require('websockify');

websockify.start({
   destinationPort: 4567,
   sourcePort: 1234
});

In es5 notation, you can just do something like:

module.exports = someObjectToExpose

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions