Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Guide? #14

Open
billiegoose opened this issue Jun 22, 2017 · 1 comment
Open

Integration Guide? #14

billiegoose opened this issue Jun 22, 2017 · 1 comment

Comments

@billiegoose
Copy link

I'm thinking about making a backend for this module for my dukboot runtime. I didn't see any instructions on how to actually write backends though. Do I use eshttp as a dependency and write a wrapper module?

@iefserge
Copy link
Owner

Yep, that should work. See example of the runtime.js backend https://github.com/iefserge/eshttp/blob/master/index-runtime.js
It calls setBackend to provide backend object, then re-exports eshttp.

Backend itself is a set of functions for working with sockets on the platform https://github.com/iefserge/eshttp/blob/master/backend/backend-runtime.js

Feel free to open an issue about backend API improvements if it makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants