As CoAP was designed with proxies in mind, CoAP messages can contain a Proxy-URI option.
As CoAP was designed with proxies in mind, CoAP messages can contain a Proxy-URI option.
...
@@ -34,18 +34,18 @@ Notice that https:// and coaps:// are not supported as security is not implement
...
@@ -34,18 +34,18 @@ Notice that https:// and coaps:// are not supported as security is not implement
As example the Proxy-URI 'http://127.0.0.1/wanted' will cause the proxy to fetch the 'wanted' resource using HTTP, while the Proxy-URI 'coap://127.0.0.1/wanted' will cause the proxy to fetch the 'wanted' resource using CoAP.
As example the Proxy-URI 'http://127.0.0.1/wanted' will cause the proxy to fetch the 'wanted' resource using HTTP, while the Proxy-URI 'coap://127.0.0.1/wanted' will cause the proxy to fetch the 'wanted' resource using CoAP.
The CoAP proxy server is started on port 5683 (CoAP default port).
The CoAP proxy server is started on port 5683 (CoAP default port).