Node: Non-explanatory docs for: https and http2

Created on 23 Apr 2020  路  3Comments  路  Source: nodejs/node

Docs don't explain what's the difference between these two modules.
Is http2 is a superset of http and https? Does http2 use TLS/SSL for encryption?
Do I need to choose between http2 and https? Or I can simply use http2 because it newer and cooler? :)
There's absolutely no info for that.

question

Most helpful comment

They're API reference documentation, not primers on internet protocols. I don't think what you're asking for belongs there.

All 3 comments

They're API reference documentation, not primers on internet protocols. I don't think what you're asking for belongs there.

Yes, if you're looking for an article introducing difference of them, you can just go to Wikipedia

close as resolved

@bnoordhuis And I'm asking about API documentation. The question was clear:

Do I need to choose between http2 and https? Or I can simply use http2

@Himself65 What does this have to do with Wikipedia? (btw, It's doesn't give answers to my questions and you didn't read it, whatever)
I asked about API and it's composition.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

filipesilvaa picture filipesilvaa  路  3Comments

fanjunzhi picture fanjunzhi  路  3Comments

seishun picture seishun  路  3Comments

danialkhansari picture danialkhansari  路  3Comments

danielstaleiny picture danielstaleiny  路  3Comments