Open
Description
Description
When I type the example under the std/httpclient (https://nim-lang.org/docs/httpclient.html#sslslashtls-support):
import httpclient
var client = newHttpClient(sslContext=newContext(verifyMode=CVerifyPeer))
I get the following:
undeclared identifier: 'newContext'
candidates (edit distance, scope distance); see '--spellSuggest':
(3, 3): 'getContent'nim(nimsuggest chk)
undeclared identifier: 'newContext'
candidates (edit distance, scope distance); see '--spellSuggest':
(3, 3): 'getContent'
t1.newContext: Error Type
Compilation gives me the same error.
Nim Version
version 2.2
Current Output
No response
Expected Output
No response
Known Workarounds
No response
Additional Information
No response