Well, that is very, very fair. I let [what I call] design to get in the way of usability :)
It is a web server AND a websocket server in its core, and I'm working hard now to try to make it extensible by plugins to be able to become a SMTP, RTC, torrent, etc. server if you want to.
For instance, I want to be able to do:
const server = require('server');
const { email } = server.plugins;
server(
email('fake@francisco.io', ctx => {
// ctx.data => the body/text of the email
// ctx.files => any attached files
// ctx.params.to => array of "to"
// ...
})
);
But I am having some problems conceptually as to try to standardize the way we deal with any kind of requests since different servers will work in very different ways.
But still your feedback is totally valid, I'll fix it, thank you.
It is a web server AND a websocket server in its core, and I'm working hard now to try to make it extensible by plugins to be able to become a SMTP, RTC, torrent, etc. server if you want to.
For instance, I want to be able to do:
But I am having some problems conceptually as to try to standardize the way we deal with any kind of requests since different servers will work in very different ways.But still your feedback is totally valid, I'll fix it, thank you.