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

497 commits

Author SHA1 Message Date
Rene Schallner
ce633ad1b4 build announceybot in CI 2024-02-24 17:33:45 +01:00
GitHub Action
040d952bc9 Update README 2024-02-24 16:27:17 +00:00
Rene Schallner
35b8337ccb fix announceybot templates for 0.12 2024-02-24 17:26:49 +01:00
GitHub Action
2b926f568c Update README 2024-02-24 16:13:43 +00:00
Rene Schallner
54fb35ae7c ci 0.12 fix link in readme 2024-02-24 17:13:18 +01:00
GitHub Action
696f1c7b77 Update README 2024-02-24 16:03:22 +00:00
Rene Schallner
7728fbc534 fix push 2024-02-24 17:02:54 +01:00
Rene Schallner
cb7abc3467 try to fix CI 2024-02-24 17:01:48 +01:00
Rene Schallner
c4a308bb98 try to auto-update readme for zig-0.12.0 2024-02-24 16:57:41 +01:00
Rene Schallner
91babe6719 testing 0.12 push trigger 2024-02-24 16:51:32 +01:00
Rene Schallner
b03ce394a8 fix CI yml 2024-02-24 16:43:11 +01:00
Rene Schallner
5f9c5b7702 re-enable zig master check CI workflow 2024-02-24 16:40:24 +01:00
Rene Schallner
070970f262 update docs for 0.5.1 2024-02-24 16:05:05 +01:00
Rene Schallner
309181624d updated zon to reflect new version 2024-02-24 16:01:29 +01:00
Rene Schallner
6d710ba448 use methodAsEnum() in endpoint and json example 2024-02-24 15:52:27 +01:00
Rene Schallner
5ea15b8a3e performance: revert r.method enum back to ?[]const u8 new http.Method enum is available via r.methodAsEnum() 2024-02-24 15:49:14 +01:00
Rene Schallner
30c5b392a9 in http.methodToEnum use std.meta.stringToEnum 2024-02-24 15:22:37 +01:00
Rene Schallner
0d712282e2 doc update 2024-02-23 20:35:54 +01:00
Rene Schallner
d51a0b8ca3 make latest patches work on zig master 2024-02-23 20:34:19 +01:00
Joe Liotta
4393866ea5 fixed unneeded optional unwrap in hello_json 2024-02-23 20:21:24 +01:00
Rene Schallner
1f6e945c08 cosmetics 2024-02-23 20:21:11 +01:00
Rene Schallner
680e981d13 access raw query params w/o allocator, close #40 2024-02-23 20:20:58 +01:00
Froxcey
42e96b4875 Use debug.err and exit 1 for windows fail message 2024-02-23 20:20:38 +01:00
Froxcey
3a50132123 Provide Windows error message 2024-02-23 20:20:11 +01:00
Froxcey
694b3196db Use custom method enum 2024-02-23 20:20:00 +01:00
Rene Schallner
edc297ce5a Update README.md 2024-02-23 20:19:48 +01:00
Rene Schallner
4f2a326948 Update README.md to point out even more prominently the zig master situation 2024-02-23 20:17:00 +01:00
Froxcey
39ee26f9a4 Use std.http.Method for Request.method 2024-02-23 20:16:44 +01:00
GitHub Action
8a9d7369df Update README 2024-02-23 20:16:26 +01:00
Rene Schallner
bd1fbaee80 minor simple_router fixes 2024-01-24 22:59:38 +01:00
Rene Schallner
cccee2b14c updated docs to include zap.Router (not documented yet) 2024-01-24 14:13:53 +01:00
Rene Schallner
fa4acdf954 fix router constness for current zig 2024-01-24 14:10:07 +01:00
John Colvin
a330627b09 s/ednpoint/endpoint/ 2024-01-24 13:59:36 +01:00
stringnick
74ffd81bca update readme.md 2024-01-24 13:59:36 +01:00
stringnick
508b1a12c0 some refactoring 2024-01-24 13:59:36 +01:00
stringnick
2c2814144e simple router with clojure 2024-01-24 13:59:36 +01:00
Craig Hewetson
88ec6316f3 Update Discord link to be exactly the same as the one in the readme file 2024-01-17 17:08:29 +01:00
Rene Schallner
23b70b8881 update README: docs 2024-01-10 15:50:47 +01:00
Rene Schallner
f4563f2357 added docs for gh pages 2024-01-10 15:25:02 +01:00
Rene Schallner
79aa63f717 exclude docs/ from gitignore 2024-01-10 15:24:31 +01:00
Rene Schallner
3295589584 update to latest zig master 2024-01-10 15:08:51 +01:00
Rene Schallner
07c74e757d Refactored request, auth, endpoint:
- zap.Request : refactored into its own file, along with supporting
  types and functions (e.g. http params related)
    - added setContentTypeFromFilename thx @hauleth.
- zap.Auth : zap.Auth.Basic, zap.Auth.BearerSingle, ...
- zap.Endpoint : zap.Endpoint, zap.Endpoint.Authenticating
2024-01-10 15:05:53 +01:00
Rene Schallner
214cfc5dee example comments 2024-01-09 16:01:53 +01:00
Rene Schallner
652f0e2277 Merge branch 'api_clean' into zig-0.12.0 2024-01-09 12:12:46 +01:00
Rene Schallner
baf58b1666 fixed setContentTypeFromFilename consts 2024-01-09 12:02:31 +01:00
Rene Schallner
737691581a added setContentTypeFromFilename thx @hauleth. 2024-01-09 12:00:56 +01:00
Rene Schallner
724ce87bd2 don't pollute global namespace with fio 2024-01-09 11:07:07 +01:00
Rene Schallner
eca4d511f0 finalize: allocator always 1st-ish arg 2024-01-09 10:55:27 +01:00
renerocksai
35a8d8f39b progress. alloc 1st 2024-01-09 08:21:03 +01:00
renerocksai
e7305816d3 API cleanup #3
--------------

More zap docstrings
2024-01-08 21:41:44 +01:00