Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)