Skip to content

Commit bc7fd94

Browse files
committed
cli alignmnet
1 parent e15f456 commit bc7fd94

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/cli.js

+9
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,18 @@ class Res {
6767
constructor() {
6868
this.query = {};
6969
this.data = null;
70+
this.statusCode = null;
7071
}
7172
send(data) {
7273
this.data = data;
74+
return this;
75+
}
76+
status(status) {
77+
this.statusCode = status;
78+
return this;
79+
}
80+
setHeader() {
81+
return this;
7382
}
7483
}
7584

0 commit comments

Comments
 (0)