fetch-h2
fetch-h2 copied to clipboard
self-signed certificates
Hi! Is there any way to provide self-signed certificates through your library -- FetchH2, or how could I provide the rejectedUnauthorized parameter? Thanks!
+1. I saw this question and thought it wasn't supported, but this works:
import { fetch, setup } from 'fetch-h2';
setup({
session: {
rejectUnauthorized: false,
},
});