Skip to content

Commit

Permalink
cli alignmnet
Browse files Browse the repository at this point in the history
  • Loading branch information
btopro committed Oct 30, 2024
1 parent e15f456 commit bc7fd94
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,18 @@ class Res {
constructor() {
this.query = {};
this.data = null;
this.statusCode = null;
}
send(data) {
this.data = data;
return this;
}
status(status) {
this.statusCode = status;
return this;
}
setHeader() {
return this;
}
}

Expand Down

0 comments on commit bc7fd94

Please sign in to comment.