repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: cleanup handler naming
[poolifier.git]
/
examples
/
typescript
/
http-client-pool
/
httpd-echo.js
diff --git
a/examples/typescript/http-client-pool/httpd-echo.js
b/examples/typescript/http-client-pool/httpd-echo.js
index cbfb8da7ccfd7869eb3b11a1492b748617810100..53b8ad116592153f7bece55d296db77536e1241e 100644
(file)
--- a/
examples/typescript/http-client-pool/httpd-echo.js
+++ b/
examples/typescript/http-client-pool/httpd-echo.js
@@
-7,7
+7,7
@@
server
.on('request', (request, response) => {
let body = []
request
.on('request', (request, response) => {
let body = []
request
- .on('data',
(chunk)
=> {
+ .on('data',
chunk
=> {
body.push(chunk)
})
.on('end', () => {
body.push(chunk)
})
.on('end', () => {