11 ms·
I mean it’s a random repo, what do you expect from the Zig authors?
by steeve 2y ago
I mean it’s a random repo, what do you expect from the Zig authors?
- fwsgonzo 2y agoI used the "official" example. It's OK that things break - just that I can't figure out how to update my previously working code. So, I'm wondering - where is the updated official example of using the HTTP client?
- AndyKelley 2y ago0.13.0 did not make any breaking changes to the std.http APIs. Upgrade guide is in the 0.12.0 release notes: https://ziglang.org/download/0.12.0/release-notes.html#Reworked-HTTP https://ziglang.org/download/0.12.0/release-notes.html#Rewor...
- fwsgonzo 2y agoThank you! That explains it. I must have made the example for 0.11!
- marler8997 2y agoHere's an example: https://github.com/marler8997/zigup/blob/4d25c7e387a996c6b83a5b5fd98a2a6622557577/zigup.zig#L55 https://github.com/marler8997/zigup/blob/4d25c7e387a996c6b83...