Created
January 12, 2020 13:26
-
-
Save WimJongeneel/5b7cd05eaf34635933be891efb34b85f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
socket.write(compileResponse({ | |
protocol: 'HTTP/1.1', | |
headers: new Map(), | |
status: 'OK', | |
statusCode: 200, | |
body: `<html><body><h1>Greetings</h1></body></html>` | |
})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment