根据CoAP规范RFC7252 5.7节,存在两种类型的CoAP代理,即正向代理和反向代理。与此定义正交的代理可以是CoAP或HTTP代理。
根据这些定义,我有以下问题:
很好,如果有人能够提供除上述问题的答案之外,还有良好的尊敬和例子。
发布于 2019-12-23 11:00:07
- Forward proxies: Escaping a restrictive firewall (eg. because outgoing connections are blocked unless they go through a proxy); a special case thereof is accessing resources on CoAP from within a browser, when a CoAP-over-WebSocket server is used as a forward proxy.
- Reverse proxies: Roughly the same as for forward proxies but in the reverse direction (ie. if the server is in a firewalled network, there can be a reverse proxy running on the firewall that lets requests in selectively). Additionally, reverse proxies can be used for load balancing on the unconstrained server side.
- HTTP-CoAP-proxies: Accessing CoAP devices from programming environments that don't have good CoAP support (eg. if your monitoring system supports polling a HTTP server, a H-C proxy easily allows monitoring your CoAP servers).
- CoAP-HTTP proxies: Making services on the big web available to constrained devices (eg. querying a weather forecast). This is often of limited use as those web services don't use data formats suitable for a constrained device.
https://stackoverflow.com/questions/59453545
复制相似问题