-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.qcobjects.backend.microservice.socketio.js
More file actions
80 lines (79 loc) · 2.36 KB
/
com.qcobjects.backend.microservice.socketio.js
File metadata and controls
80 lines (79 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/**
* QCObjects CLI 0.1.x
* ________________
*
* Author: Jean Machuca <correojean@gmail.com>
*
* Cross Browser Javascript Framework for MVC Patterns
* QuickCorp/QCObjects is licensed under the
* GNU Lesser General Public License v3.0
* [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)
*
* Permissions of this copyleft license are conditioned on making available
* complete source code of licensed works and modifications under the same
* license or the GNU GPLv3. Copyright and license notices must be preserved.
* Contributors provide an express grant of patent rights. However, a larger
* work using the licensed work through interfaces provided by the licensed
* work may be distributed under different terms and without source code for
* the larger work.
*
* Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>
*
* Everyone is permitted to copy and distribute verbatim copies of this
* license document, but changing it is not allowed.
*/
/*eslint no-unused-vars: "off"*/
/*eslint no-redeclare: "off"*/
/*eslint no-empty: "off"*/
/*eslint strict: "off"*/
/*eslint no-mixed-operators: "off"*/
/*eslint no-undef: "off"*/
/*eslint no-useless-escape: "off"*/
"use strict";
const fs = require("fs");
const path = require("path");
const absolutePath = path.resolve(__dirname, "./");
Package("com.qcobjects.backend.microservice.socketio", [
Class("Microservice",BackendMicroservice,{
finishWithBody: function(stream) {},
done: function () {
logger.debug("[DO NOTHING]");
},
head: function(formData) {
var microservice = this;
microservice.done();
},
get: function(formData){
var microservice = this;
microservice.done();
},
post:function (formData){
var microservice = this;
microservice.done();
},
put: function(formData) {
var microservice = this;
microservice.done();
},
delete: function(formData) {
var microservice = this;
microservice.done();
},
connect: function(formData) {
var microservice = this;
microservice.done();
},
options: function(formData) {
var microservice = this;
microservice.done();
},
trace: function(formData) {
var microservice = this;
microservice.done();
},
patch: function(formData) {
var microservice = this;
microservice.done();
}
})
]);