-
- Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
DocumentationRelated to documentation content (not generation).Related to documentation content (not generation).Standard Library
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
Metadata
Metadata
Assignees
Labels
DocumentationRelated to documentation content (not generation).Related to documentation content (not generation).Standard Library