Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- name : "main",
- handle : (asked,answer) => {
- answer.write("from main");
- }
- }
- - route:
- uri: /this/is/the/uri
- when: ["POST", "PUT"] #default: GET
- to: serviceName
- after: [ authentication , cache-out ]
- then: [ cache-in , compress ]
- in: dev #environment
- Muneem({
- mappings : "path/for/routes/mappings",
- handlers : "path/for/handlers"
- }).start();
- muneem.add(handlerType, ....);
- muneem.addHandler(...)
- muneem.addSerializer(...)
- muneem.addCompressor((...)
- muneem.route(...)
Add Comment
Please, Sign In to add comment