没有合适的资源?快使用搜索试试~ 我知道了~
cross-domain-practice:使用node.js在前端练习各种跨域方法
共34个文件
js:16个
html:13个
json:2个
需积分: 5 0 下载量 164 浏览量
2021-05-13
12:58:29
上传
评论
收藏 34KB ZIP 举报
温馨提示
本文利用node.js 实现前端各种跨域方式。 包含以下几种: 1.cors 2.jsonp 3.window.name+iframe 4.location.hash+iframe 5.HTML5 postMessage 6.nginx 反向代理 7.node.js + express + http-proxy-middleware 8.webSocket 具体教程见
资源推荐
资源详情
资源评论
收起资源包目录
cross-domain-practice-master.zip (34个子文件)
cross-domain-practice-master
nginx
server.js 513B
public
client.html 292B
client.js 572B
package.json 377B
window-name
public
index.html 1KB
iframe.html 340B
proxy.html 0B
server2.js 248B
server1.js 179B
postMessage
server-b.js 171B
public
b.html 667B
a.html 880B
server-a.js 171B
package-lock.json 70KB
jsonp
client.js 143B
server.js 895B
public
index.html 1KB
cors
server.js 393B
clientServer.js 149B
public
client.html 1KB
location-hash
public
b.html 592B
a.html 658B
c.html 535B
server2.js 170B
server1.js 234B
webSocket
client.js 165B
server.js 685B
public
index.html 1KB
.gitignore 21B
node-middleware
server.js 496B
proxyServer.js 683B
public
index.html 601B
README.md 533B
.gitattributes 34B
共 34 条
- 1
资源评论
每天痛苦与更好的
- 粉丝: 32
- 资源: 4536
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功