E
E
Egorian2017-11-29 17:37:39
Node.js
Egorian, 2017-11-29 17:37:39

VIBER API. How to configure bot.middleware?

Started wading through the VIBER API Node.js documentation

const https = require('https');
https.createServer({
  key: ...,
  cert: ...,
  ca: ...
}, bot.middleware()).listen(8080);

What do key,cert and ca mean?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Khokhlov, 2017-11-29
@Egorian

Read the documentation for node
https://nodejs.org/api/https.html#https_https_crea...
https://nodejs.org/api/tls.html#tls_tls_createsecu...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question