Implement HTTP server infrastructure: SocketBox, HTTPServerBox, HTTPRequestBox, HTTPResponseBox
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
13
test_socket_simple.nyash
Normal file
13
test_socket_simple.nyash
Normal file
@ -0,0 +1,13 @@
|
||||
// Simple HTTP Box test
|
||||
static box Main {
|
||||
init { socket }
|
||||
|
||||
main() {
|
||||
print("🔌 Testing SocketBox creation...")
|
||||
|
||||
me.socket = new SocketBox()
|
||||
print("✅ SocketBox created: " + me.socket.toString())
|
||||
|
||||
return true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user