J
J
Jumandjilos2018-04-25 17:04:06
Node.js
Jumandjilos, 2018-04-25 17:04:06

What are these methods for?

What are res.writeHead, res.write and res.end used for. With end it seems to be clear, it completes all server responses, but it is not at all clear why the first two are?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Spirin, 2018-04-25
@rockon404

res.write
res.writeHead

V
VoidVolker, 2018-04-25
@VoidVolker

bfy.tw/HpQN
bfy.tw/HpQS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question