We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0889138 commit c5191d2Copy full SHA for c5191d2
1 file changed
code-dev/25-10-21/override-createserver/override-createserver.md
@@ -0,0 +1,9 @@
1
+# override createserver
2
+
3
+this code snippet demonstrates overriding createServer function of nodejs http modules to add additional functionailty.
4
+It came about from trying to create a demo in webcontainers which was really beyond the capacity of webcontainers, so override
5
+createserver was used to hook into the request received function and respond to /setup url before it ever reached the
6
+server in question.
7
8
9
0 commit comments