Rene Schallner
6d710ba448
use methodAsEnum() in endpoint and json example
2024-02-24 15:52:27 +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
John Colvin
a330627b09
s/ednpoint/endpoint/
2024-01-24 13:59:36 +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
renerocksai
551d033edc
API cleanup #2
...
--------------
- Middleware: no more MixContexts
- zig structs are fine
- more documentation (comments -> autodoc).
- websocket docs
2024-01-08 19:26:16 +01:00
renerocksai
3d651229f8
API cleanup #1
...
--------------
- EndpointListener.register() // was: addEndpoint
- no more Simple
- getEndpoint -> endpoint()
2024-01-08 15:50:46 +01:00
stringnick
1e849d2b05
http method options support
2023-12-31 01:20:54 +01:00
Ed Yu
a641dcc082
add http method PATCH for endpoint listener
2023-05-16 14:58:52 -07:00
Rene Schallner
8067c666b2
on_request fallback for SimpleHttpListener
2023-05-16 03:38:38 +02:00
Rene Schallner
645db5c8d0
AuthResult is now an enum (was: bool)
2023-05-08 00:06:57 +02:00
Rene Schallner
d0c59ab008
fixed AuthEndpoint callbacks, BasicAuth logging
...
AuthEndpoint callbacks now provide pointers to the original
SimpleEndpoint structs, so their fieldParentPtr calls work.
Added extensive debug() logging to BasicAuth with .UserPassword.
2023-05-01 05:55:08 +02:00
Rene Schallner
b197fb5ff7
housekeeping
2023-04-21 22:18:22 +02:00
Rene Schallner
21550dd6da
added unauthorized callback to auth endpoints
2023-04-16 21:23:32 +02:00
Rene Schallner
56121ced9a
endpoint auth : sending unauthorized
2023-04-16 20:18:29 +02:00
Rene Schallner
1fa1d10acf
started adding HTTP auth + tests
2023-04-16 06:44:14 +02:00
Rene Schallner
9186bb58ec
endpoint example: the beginnings
2023-01-14 16:13:14 +01:00
Rene Schallner
becbeb2a3d
endpoint stuff progress
2023-01-13 19:55:46 +01:00