Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leizhenpeng/hpm-frame-simple-example
simple http-post-message example used in iframe
https://github.com/leizhenpeng/hpm-frame-simple-example
exapmle hpm
Last synced: 9 days ago
JSON representation
simple http-post-message example used in iframe
- Host: GitHub
- URL: https://github.com/leizhenpeng/hpm-frame-simple-example
- Owner: Leizhenpeng
- Created: 2024-06-23T23:43:01.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-23T23:54:48.000Z (7 months ago)
- Last Synced: 2025-01-04T03:41:33.513Z (16 days ago)
- Topics: exapmle, hpm
- Language: HTML
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## 开发环境设置
1. 启动HTTP服务器:
```bash
http-server -p 8083
```2. 在浏览器中打开以下地址以访问项目:
```
http://localhost:8083/index.html
```## 参考资料
本项目使用了以下库和工具,您可以通过阅读这些参考资料来更好地理解和扩展项目:
### httpPostMessage
此库用于处理HTTP post message通信。
- **源代码**: [httpPostMessage.ts](https://github.com/microsoft/http-post-message/blob/master/src/httpPostMessage.ts)
### window-post-message-proxy
此库用于在窗口之间代理post message通信。
- **源代码**: [windowPostMessageProxy.ts](https://github.com/microsoft/window-post-message-proxy/blob/master/src/windowPostMessageProxy.ts)