Coder Social home page Coder Social logo

Comments (4)

acb avatar acb commented on June 3, 2024 1

Ah, that makes sense. The docs confused me. I'll take a look and see if it makes sense to extend this or use something else. Thanks!

from react-native-ssdp.

acb avatar acb commented on June 3, 2024

Ah so poking around in the source I see why there's no Server; in your index.js you have

module.exports = {
  Client: require('./lib/client'),
  Base: require('./lib/index')
}

So is Base what Server actually is? It looks like it might be, in which case the docs on here just need to be updated.

from react-native-ssdp.

acb avatar acb commented on June 3, 2024

Well maybe Base isn't quite a Server...it doesn't have a start() function though it does have _start(), not sure if that does the same thing, or even what objects I'm dealing with at this point.

from react-native-ssdp.

jsdario avatar jsdario commented on June 3, 2024

Hi @acb, thanks for your questions. This is a fork from node-ssdp, so the API and the examples pretend to be the same. However, the SSDP server has not yet been implemented because our main use-cases are as a client.

I can't invest right now time into building the Server API, I however invite you to submit a PR!

from react-native-ssdp.

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.