We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46cae1d commit e16d16aCopy full SHA for e16d16a
src/fastboot-response.js
@@ -1,8 +1,12 @@
1
+'use strict';
2
+
3
var FastBootHeaders = require('./fastboot-headers');
4
-function FastbootResponse(response) {
- this.headers = new FastBootHeaders(response._headers);
5
- this.statusCode = 200;
+class FastbootResponse {
6
+ constructor(response) {
7
+ this.headers = new FastBootHeaders(response._headers);
8
+ this.statusCode = 200;
9
+ }
10
}
11
12
module.exports = FastbootResponse;
0 commit comments