Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/llrt
/ write
Function
write
example/register-hooks/src/http.js:121–126 ·
view source on GitHub ↗
(chunk)
Source
from the content-addressed store, hash-verified
119
headersSent = true;
120
},
121
write(chunk) {
122
if
(!headersSent) {
123
this.writeHead(this.statusCode);
124
}
125
socket.write(chunk);
126
},
127
end(chunk) {
128
if
(chunk) this.write(chunk);
129
socket.end();
Callers
nothing calls this directly
Calls
1
write
Method · 0.65
Tested by
no test coverage detected