-
Notifications
You must be signed in to change notification settings - Fork 0
socket vs http
2012 edited this page Nov 16, 2019
·
1 revision
- http 属于应用层协议,用于解析转换传输层接收的数据,提高数据的可读性和易用性;而 socket 不属于五层协议的任何一层,它是一个基于 TCP/IP 协议定义的接口。
- http 是请求/响应模式(http2 除外);socket 和 http2 相似,连接建立后,可以自由请求发送数据,直到客户端主动断开连接。
JS
CSS
- float
- BFC
- position
- flex
- grid
DOM
- DOM
- how browser works
Node.js
react
- 生命周期
- setState
- hook
git
- git 基础命令
- git rebase 理解
- git bisect
- git commit
- git hook
设计模式
- 策略模式
- ...
TCP/IP 协议
- HTTP/1.x
- HTTP/2
- SSL/TLS
- TCP
- DNS
- HTTP Cache
- CORS
- http status code
linux(shell)知识点