Method/Property | Type | Status |
---|---|---|
listen(port, callback) |
Listener | ✅ Implemented |
listen(addr, callback) |
Listener | ✅ Implemented |
listen(port, opts, callback) |
Listener | ✅ Implemented |
port |
int |
✅ Implemented |
Method | Type | Status |
---|---|---|
close() |
— | ✅ Implemented |
Parameter |
---|
Request |
Response |
Property | Type | Status |
---|---|---|
method |
string |
✅ Implemented |
url |
string |
✅ Implemented |
httpVersion |
string |
✅ Implemented |
headers |
object |
✅ Implemented |
post |
string |
✅ Implemented |
postRaw |
string |
✅ Implemented |
Method/Property | Type | Status |
---|---|---|
headers |
object |
✅ Implemented |
statusCode |
int |
✅ Implemented |
setHeader(name, value) |
— | ✅ Implemented |
header(name) |
string |
✅ Implemented |
setEncoding(encoding) |
— | ✅ Implemented |
write(data) |
— | ✅ Implemented |
writeHead(statusCode, headers) |
— | ✅ Implemented |
close() |
— | ✅ Implemented |
closeGracefully() |
— | ✅ Implemented |