Rene Schallner
789e6b02b8
Merge pull request #92 from leroycep/error-return-trace
...
fix: use error return trace in senderror
2024-04-21 13:48:58 +02:00
Rene Schallner
d82a66860e
Merge pull request #93 from desttinghim/header-common
...
feat: add getHeaderCommon
2024-04-21 13:45:15 +02:00
Louis Pearson
38c12a0a6b
fix: use runtime values of HTTP_HEADER_* for getHeaderCommon
2024-04-18 18:08:39 -06:00
Louis Pearson
5ed5dc2c3a
feat: add getHeaderCommon
2024-04-18 16:43:07 -06:00
geemili
5f4b7957dc
fix: use error return trace in senderror
...
This should produce more usable error messages. The error messages before
this were pointing at zap runtime functions, instead of at the code that
produced the error.
2024-04-18 16:16:15 -06:00
GitHub Action
518199fca5
Update README
2024-03-23 23:47:04 +00:00
Rene Schallner
a4b7778a56
bump version number for imminent release
2024-03-24 00:37:02 +01:00
Rene Schallner
c81a211bd3
re-write of zap.Router, fix #83
2024-03-23 23:00:25 +01:00
Rene Schallner
135827977a
trying to add mastercheck badge to README
2024-02-24 16:48:53 +01:00
GitHub Action
50497514e5
Update README
2024-02-24 15:15:30 +00:00
Rene Schallner
d27a280c32
bump version number in face of imminent release
2024-02-24 15:59:49 +01:00
Rene Schallner
77f5fd05b9
use methodAsEnum() in endpoint and json example
2024-02-24 15:57:11 +01:00
Rene Schallner
8a18a0258f
performance: revert r.method enum back to ?[]const u8
...
new http.Method enum is available via r.methodAsEnum()
2024-02-24 15:36:44 +01:00
Rene Schallner
db579a99f0
in http.methodToEnum use std.meta.stringToEnum
2024-02-24 15:18:03 +01:00
Rene Schallner
92e4a54362
fix workflow to detect failing builds of individual samples
2024-02-23 12:07:26 +01:00
Rene Schallner
615319ad39
Merge pull request #79 from joeypas/master
...
fixed unneeded optional unwrap in hello_json
2024-02-23 03:01:33 +01:00
Joe Liotta
fb0f947e5a
fixed unneeded optional unwrap in hello_json
2024-02-22 19:12:44 -05:00
Rene Schallner
0609f98e05
cosmetics
2024-02-22 22:54:46 +01:00
Rene Schallner
c91948933c
access raw query params w/o allocator, close #40
2024-02-22 22:44:04 +01:00
Rene Schallner
92ad13d6c6
Merge pull request #75 from Chiissu/windows-errmsg
...
Provide Windows error message
2024-02-22 21:09:55 +01:00
Froxcey
2f174bbcef
Use debug.err and exit 1 for windows fail message
2024-02-19 20:37:08 +08:00
Froxcey
1328bdf7c2
Provide Windows error message
2024-02-13 00:07:32 +08:00
Rene Schallner
4254cc067e
Merge pull request #72 from Chiissu/master
...
Use std.http.Method for Request.method
2024-01-31 15:46:12 +01:00
Froxcey
37f7b8b4aa
Use custom method enum
2024-01-31 21:15:27 +08:00
Rene Schallner
be1947e6a4
Update README.md
2024-01-31 07:26:31 +01:00
Rene Schallner
f8b6ddf042
Update README.md to point out even more prominently the zig master situation
2024-01-31 07:23:40 +01:00
Froxcey
92fdb6605c
Use std.http.Method for Request.method
2024-01-27 21:10:04 +08:00
GitHub Action
9ce4b4438d
Update README
2024-01-24 22:05:40 +00:00
Rene Schallner
220e1a0960
bump version in face of imminent release
2024-01-24 23:03:13 +01:00
Rene Schallner
02449e01ff
minor simple_router fixes
2024-01-24 22:58:19 +01:00
Rene Schallner
b56b64f637
Merge pull request #71 from John-Colvin/patch-1
...
ednpoint typo
2024-01-24 13:51:46 +01:00
Rene Schallner
9122d7f9b0
Merge pull request #68 from StringNick/simple-router
...
simple router with handler clojures support
2024-01-24 13:50:58 +01:00
John Colvin
452ac7f12e
s/ednpoint/endpoint/
2024-01-22 23:16:20 +00:00
stringnick
4058854a12
update readme.md
2024-01-18 21:39:05 +01:00
stringnick
5e76e17baf
some refactoring
2024-01-18 21:33:26 +01:00
Rene Schallner
5b14759b4b
Merge pull request #69 from craighewetson/update-contributing-discord-link
...
Update Discord link to be exactly the same as the one in the readme file
2024-01-17 17:06:27 +01:00
Craig Hewetson
a2c9c5dfff
Update Discord link to be exactly the same as the one in the readme file
2024-01-17 16:32:44 +01:00
stringnick
f13160eda6
simple router with clojure
2024-01-13 13:23:54 +01:00
Rene Schallner
ababe017a9
update README: docs
2024-01-10 15:49:30 +01:00
GitHub Action
e257ca6a43
Update README
2024-01-10 14:37:40 +00:00
Rene Schallner
9b6b53cf71
increased zon version number for imminent release
2024-01-10 15:32:00 +01:00
Rene Schallner
61fbbe8b08
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:13:25 +01:00
Rene Schallner
7141318caf
fixed setContentTypeFromFilename consts
2024-01-09 12:03:47 +01:00
Rene Schallner
290d8bd7cc
added setContentTypeFromFilename thx @hauleth.
2024-01-09 11:57:48 +01:00
Rene Schallner
295c2f68dd
don't pollute global namespace with fio
2024-01-09 11:33:44 +01:00
Rene Schallner
1e1b5f5c51
finalize: allocator always 1st-ish arg
2024-01-09 11:30:16 +01:00
renerocksai
a84204df58
progress. alloc 1st
2024-01-09 11:30:16 +01:00
renerocksai
0fb4d8a9a1
API cleanup #3 --------------
...
More zap docstrings
2024-01-09 11:30:16 +01:00
renerocksai
207a7619f4
API cleanup #2 --------------
...
- Middleware: no more MixContexts
- zig structs are fine
- more documentation (comments -> autodoc).
- websocket docs
2024-01-09 11:28:53 +01:00
renerocksai
8892cae7df
API cleanup #1 --------------
...
- EndpointListener.register() // was: addEndpoint
- no more Simple
- getEndpoint -> endpoint()
2024-01-09 11:28:05 +01:00