NodeC  0.1
HTTPS secure connections

Secure connections over HTTPS. More...

Macros

#define using_ssl_config(cfg)
 

Typedefs

typedef struct _nodec_ssl_config_t nodec_ssl_config_t
 
typedef struct _nodec_tls_stream_t nodec_tls_stream_t
 

Functions

void nodec_ssl_config_free (nodec_ssl_config_t *config)
 
void nodec_ssl_config_freev (lh_value configv)
 
nodec_ssl_config_t * nodec_ssl_config_server_from (const char *cert_path, const char *key_path, const char *password)
 
nodec_ssl_config_t * nodec_ssl_config_server (uv_buf_t cert, uv_buf_t key, const char *password)
 
nodec_ssl_config_t * nodec_ssl_config_client ()
 
nodec_errno_t nodecx_ssl_config_add_ca (nodec_ssl_config_t *config, uv_buf_t cert)
 
void async_ssl_config_add_system_certs (nodec_ssl_config_t *config)
 
nodec_bstream_tnodec_tls_stream_alloc (nodec_bstream_t *stream, const nodec_ssl_config_t *config)
 
void async_https_server_at (const char *host, tcp_server_config_t *tcp_config, nodec_ssl_config_t *ssl_config, nodec_http_servefun *servefun)
 
lh_value async_https_connect (nodec_ssl_config_t *config, const char *url, http_connect_fun *connectfun, lh_value arg)
 

Detailed Description

Secure connections over HTTPS.