وحدة TLS Node.js

❮ وحدات مدمجة


التعريف والاستخدام

توفر وحدة TLS طريقة لتنفيذ TLS (أمان طبقة النقل) و SSL (طبقة مآخذ التوصيل الآمنة).


بناء الجملة

بناء الجملة لتضمين وحدة TLS في تطبيقك:

var tls = require('tls');

خصائص وطرق TLS

Method Description
connect() Returns a Socket object
createSecureContext() Creates an object containing security details
createServer() Creates a Server object
getCiphers() Returns an array containing the supported SSL ciphers

❮ وحدات مدمجة