1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00
zap/examples
Tesseract22 c0cc025eda Provide defaults to unprovided restful method handler
Make `get`, `post`, ... methods optional. Check whether these method
exist at comptime. When no corresponding method is provided,
the handler simply return immediately.

Since it uses comptime, hopefully it should not add any checks at
runtime.
2025-07-13 15:02:35 +08:00
..
accept added header to example main source files showing how to build & run 2025-03-30 19:40:08 +02:00
app Provide defaults to unprovided restful method handler 2025-07-13 15:02:35 +08:00
bindataformpost harmonize callback function error handling, zap logging; doc updates 2025-04-01 16:30:24 +02:00
cookies harmonize callback function error handling, zap logging; doc updates 2025-04-01 16:30:24 +02:00
endpoint fix: add missing head handler for EndpointType 2025-04-21 18:36:46 -03:00
endpoint_auth fix: add missing head handler for EndpointType 2025-04-21 18:36:46 -03:00
hello added header to example main source files showing how to build & run 2025-03-30 19:40:08 +02:00
hello2 added header to example main source files showing how to build & run 2025-03-30 19:40:08 +02:00
hello_json added header to example main source files showing how to build & run 2025-03-30 19:40:08 +02:00
http_params harmonize callback function error handling, zap logging; doc updates 2025-04-01 16:30:24 +02:00
https added header to example main source files showing how to build & run 2025-03-30 19:40:08 +02:00
middleware harmonize callback function error handling, zap logging; doc updates 2025-04-01 16:30:24 +02:00
middleware_with_endpoint fix: add missing head handler for EndpointType 2025-04-21 18:36:46 -03:00
mustache harmonize callback function error handling, zap logging; doc updates 2025-04-01 16:30:24 +02:00
routes added header to example main source files showing how to build & run 2025-03-30 19:40:08 +02:00
senderror added header to example main source files showing how to build & run 2025-03-30 19:40:08 +02:00
sendfile harmonize callback function error handling, zap logging; doc updates 2025-04-01 16:30:24 +02:00
serve added header to example main source files showing how to build & run 2025-03-30 19:40:08 +02:00
simple_router added header to example main source files showing how to build & run 2025-03-30 19:40:08 +02:00
userpass_session_auth harmonize callback function error handling, zap logging; doc updates 2025-04-01 16:30:24 +02:00
websockets harmonize callback function error handling, zap logging; doc updates 2025-04-01 16:30:24 +02:00