Quick question about HttpClient #230
Replies: 2 comments 4 replies
-
There is not much difference, so you can use whichever API you prefer. I don't know about HttpClient-specific issues, but Godot's and Nim's implementations each have something in common. Performance is basically higher with the Nim implementation. If you intend to target a web platform, you should be aware that some functions in the standard library will no longer work. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this it's worth mentioning, but in case someone lands here. In order to make https calls, SSL certification is needed. From Nim docs:
You can simply use gdext build -d:ssl as you would with the nim command! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Simply put: should we favour Godot's HTTPClient over std/httpclient's HttpClient?
I'm not sure which one should be better to go with.
At the moment I'm thinking of Nim's standard library, but is there any reason to use Godot's instead? (Better implementation, signals or whatever). I've never done networking on Godot.
Beta Was this translation helpful? Give feedback.
All reactions