furqansiddiqui/e2e-encrypted-relay-client-php
Composer 安装命令:
composer require furqansiddiqui/e2e-encrypted-relay-client-php
包简介
End-to-end encrypted HTTP relay client for PHP apps
README 文档
README
This lib is to be used with 📦 e2e-encrypted-relay-server nodes. Check the link for more information.
Specification
HTTP Response Codes
| Code | Description |
|---|---|
| 403 | IP address is not whitelisted |
| 204 | This status code is returned when a request is made to server with HTTP method GET. No content/body is returned. Making it effectively a quick "ping" type call to check if E2E relay node is up and running. |
| 451 | Encrypted body could not be decrypted as instance of RelayCurlRequest object. This indicates a possible error in encrypted bytes received OR wrong shared secret string. Returning body may contain more information about the actual error. |
| 202 | This status code is sent without any body when a instance of RelayCurlRequest object is successfully decrypted but has its constructor argument "method" set to handshake. This effectively means the shared secret between client and relay node verifies and no further action is required/requested. |
| 452 | There was an error while creating Curl request from decrypted RelayCurlRequest object. Content body is comprised of "[error-code]\t[error-message]" (separated by tab character) |
| 453 | There was an error while sending Curl request from decrypted RelayCurlRequest object. This normally contains error code and message received directly from Curl lib. Content body is comprised of "[error-code]\t[error-message]" (separated by tab character) |
| 454 | An error occurred while encrypting RelayCurlResponse instance. |
| 250 | Content body contains encrypted instance of RelayCurlResponse object that has been created as result of received RelayCurlRequest object. |
furqansiddiqui/e2e-encrypted-relay-client-php 适用场景与选型建议
furqansiddiqui/e2e-encrypted-relay-client-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 167 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 01 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 furqansiddiqui/e2e-encrypted-relay-client-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 furqansiddiqui/e2e-encrypted-relay-client-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 167
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-19