In the [OCF Server API](https://github.com/01org/iot-js-api/blob/master/ocf/server.md#ocf-server-api), the boolean type of the `secure` property limits the resource supporting both secure and nonsecure endpoints at the same time, as [resources can have both secure and nonsecure endpoints](https://gerrit.iotivity.org/gerrit/gitweb?p=iotivity.git;a=blobdiff;f=resource/csdk/include/octypes.h;h=9c24106ca05bf923180271cdf916c3a755c727dc;hp=2106098c2d53de7831f942367a5c70132b1edbab;hb=7511dbf830740a91564042335450934c0278bc5e;hpb=db2361bad1e029db5b702691dc267b374963ec41) since IoTivity 1.3
In the OCF Server API, the boolean type of the
secureproperty limits the resource supporting both secure and nonsecure endpoints at the same time, as resources can have both secure and nonsecure endpoints since IoTivity 1.3