lefex / FE

前端 100 天,帮助 10W 人入门并进阶前端。
https://lefex.github.io
2.04k stars 261 forks source link

《前端小课》网络编程,资源汇总 #3

Open lefex opened 4 years ago

lefex commented 4 years ago

WebSoket 官方协议 https://tools.ietf.org/html/rfc6455

lefex commented 4 years ago

iOS 中 Socket 的实现方式

import <CoreFoundation/CoreFoundation.h>

include <sys/socket.h>

include <netinet/in.h>

lefex commented 4 years ago

Node.js 网络相关实现: TCP 实现api: http://nodejs.cn/api/net.html#net_event_close

lefex commented 4 years ago

HTTP: https://tools.ietf.org/html/rfc2616

lefex commented 4 years ago

关于 HTTPS 的理解,写的真好 https://github.com/youngwind/blog/issues/108 RFC8446 https://tools.ietf.org/html/rfc8446

lefex commented 4 years ago

FE网络请求: https://github.com/axios/axios

lefex commented 4 years ago

安卓网络相关: https://github.com/square/okhttp

lefex commented 4 years ago

HTTP 解析的库,node 使用的: https://github.com/nodejs/http-parser

lefex commented 4 years ago

WebSocket 协议的实现官方文档 https://tools.ietf.org/html/rfc6455

lefex commented 4 years ago

模拟网络请求 http://web-sniffer.net/

lefex commented 4 years ago

解析 URL https://github.com/medialize/URI.js 理解 URL URI http://medialize.github.io/URI.js/about-uris.html

lefex commented 4 years ago

socket client and server: https://gist.github.com/SkrewEverything

lefex commented 4 years ago

MDN 上关于 HTTP 的描述 https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview

lefex commented 4 years ago

Book https://launchschool.com/books/http https://hpbn.co/

lefex commented 4 years ago

关于各个 status code 的描述: https://httpstatuses.com/

lefex commented 4 years ago

HTTPS中间人 https://github.com/wuchangming/https-mitm-proxy-handbook

lefex commented 4 years ago

编译 node 源码调试 https://github.com/xtx1130/blog/issues/5

lefex commented 4 years ago

TLS 协议 https://tools.ietf.org/html/rfc5246

lefex commented 4 years ago

数字签名 http://www.youdzone.com/signature.html

lefex commented 4 years ago

OpenSSL

openssl genrsa -out suyan-key.pem 2048 openssl req -new -key suyan-key.pem -out suyan.csr 公钥私钥生成 https://paulyang.cn/ 历史 SSLeay http://www.ssleay.org/what-is-openssl-ssl-explained/

lefex commented 4 years ago

wireshark 可以抓取更详细的网络数据包

https://www.wireshark.org/download.html