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

6 commits

Author SHA1 Message Date
renerocksai
cc6d55fbf7
Improved & generalized checkEndpoint functions
E.g. return type's error set does not need to be `anyerror` anymore.
2025-03-30 19:37:40 +02:00
renerocksai
fcce4517de
introduced error union to request fn return type 2025-03-16 20:16:14 +01:00
renerocksai
d0cb7520ac
fix endpoint_auth example for new Endpoint stuff 2025-03-16 13:39:23 +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
renerocksai
8892cae7df API cleanup #1 --------------
- EndpointListener.register() // was: addEndpoint
- no more Simple
- getEndpoint -> endpoint()
2024-01-09 11:28:05 +01:00
Rene Schallner
19880fad3e added endpoint_auth example, fixed doc 2023-04-16 23:53:14 +02:00