Attempting to use newContext from std/net fails to compile

2024-01-09 Thread widlet
Figured it out not long after I posted. Thank you very much for your response. What I ended up doing was making a `nim.cfg` file at the project root with `-d:ssl` in it. I think this achieves the same thing as what you proposed. Now I can compile and my LSP stopped throwing errors and the `newCo

Attempting to use newContext from std/net fails to compile

2024-01-09 Thread widlet
Hello all, I am currently trying to send an HTTP request using `std/httpclient` but in my development environment I need to ignore ssl errors. I understand that in order to do this I need to pass in a custom `SslContext` to the `HttpClient` used to make the request. I've written the following p