GithubHelp home page GithubHelp logo

Comments (3)

mscdex avatar mscdex commented on July 30, 2024 1

Yes.

from ssh2-streams.

mscdex avatar mscdex commented on July 30, 2024 1

I've not done a whole lot of ES6 class stuff, but I would guess that would be what you would do if you wanted to subclass it for some reason.

As far as using it, yes, the bare minimum would be setting the server property in the config object appropriately.

Specific functionalities? What did you have in mind? Once the stream is instantiated, it's just a matter of using it like any other node stream. Pipe it to/from a socket or wherever you want.

from ssh2-streams.

SourceBoy avatar SourceBoy commented on July 30, 2024

That's a brilliant design & implementation being able to use just the SFTP protocol by itself. Is the recommended usage simply class MyStream extends SFTPStream with config.server = true on one side and config.server = false on the other side to get things going?

Are there any specific functionalities that one needs to be aware of when there isn't SSH on either side?

from ssh2-streams.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.