nng icon indicating copy to clipboard operation
nng copied to clipboard

Can you add an example of using HTTPS requests?

Open linuxsky opened this issue 6 years ago • 1 comments

Can you add an example of using HTTPS requests?

linuxsky avatar Jan 24 '19 06:01 linuxsky

same as http only set tls auth mode like this if (strncmp("https", post_url->u_scheme, 5) == 0) { nng_http_client_get_tls(client, &tls_cfg); nng_tls_config_auth_mode(tls_cfg, NNG_TLS_AUTH_MODE_NONE); nng_tls_config_free(tls_cfg); }

mllw avatar Mar 02 '21 05:03 mllw