1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00
Commit graph

19 commits

Author SHA1 Message Date
renerocksai
4c59132a08
added header to example main source files showing how to build & run 2025-03-30 19:40:08 +02:00
Rene Schallner
9eb254d5f8 get rid of zap.util.FreeOrNot 2025-03-21 18:21:27 +01:00
renerocksai
fcce4517de
introduced error union to request fn return type 2025-03-16 20:16:14 +01:00
renerocksai
ab42f971a0
remove usingnamespace 2025-03-16 16:17:42 +01:00
Rene Schallner
9674c8f87a
Update hello_json.zig 2024-04-24 02:11:28 +02:00
Rene Schallner
6d710ba448 use methodAsEnum() in endpoint and json example 2024-02-24 15:52:27 +01:00
Joe Liotta
4393866ea5 fixed unneeded optional unwrap in hello_json 2024-02-23 20:21:24 +01:00
Froxcey
694b3196db Use custom method enum 2024-02-23 20:20:00 +01:00
Froxcey
39ee26f9a4 Use std.http.Method for Request.method 2024-02-23 20:16:44 +01:00
Rene Schallner
652f0e2277 Merge branch 'api_clean' into zig-0.12.0 2024-01-09 12:12:46 +01:00
Rene Schallner
737691581a added setContentTypeFromFilename thx @hauleth. 2024-01-09 12:00:56 +01:00
renerocksai
3d651229f8 API cleanup #1
--------------

- EndpointListener.register() // was: addEndpoint
- no more Simple
- getEndpoint -> endpoint()
2024-01-08 15:50:46 +01:00
Rene Schallner
82323f835e 0.12.0 ready 2023-12-29 23:34:33 +01:00
Ed Yu
22d4b80cb9 Update to use the new alignCast where the alignOf is not needed anymore 2023-06-26 20:11:34 -07:00
Rene Schallner
615d90b8f4 added errors 2023-03-10 11:43:57 +01:00
Rene Schallner
1f8e8ac0e4 saner mem management, thread-safety 2023-01-19 20:34:47 +01:00
Rene Schallner
ac9af50831 fixed hello_json 2023-01-13 18:18:36 +01:00
Rene Schallner
655d3c0d5d fixed hello_json example 2023-01-13 16:30:34 +01:00
Rene Schallner
0a29e52764 added json example 2023-01-13 16:27:22 +01:00