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

462 commits

Author SHA1 Message Date
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
GitHub Action
804c037efd Update README 2024-01-07 22:04:59 +00:00
Rene Schallner
587176a7df Preparing build.zig.zon for imminent release 2024-01-07 23:00:00 +01:00
Brook Jeynes
8dfdfdb02c - Updated tests (all passing) - Resolved init() comment stating an error occured if nothing was passed in. - Replaced error at an unreachable location in init() to unreachable - Made many members private 2024-01-07 22:22:37 +01:00
Brook Jeynes
9c19038082 Updated mustache.zig to be more Zig like - mustache.zig now returns a Mustache struct. This allows functions to be called on the mustache instance, e.g. zap.mustacheFree(mustache) -> mustache.free(). - Updated mustache example. - Added doc strings to majority of mustache functions. 2024-01-07 22:22:37 +01:00
Rene Schallner
57370b4e31
Update README.md 2024-01-07 21:12:01 +01:00
Rene Schallner
689da4abea
Merge pull request #63 from Vemahk/master
Re-add -Dopenssl to zap build
2024-01-07 21:08:12 +01:00
Vemahk
f38077c780 goodness, there's more README. 2024-01-05 20:34:20 -06:00
Vemahk
d39d78d6a7 Another README update: for the https FAQ
honestly not sure how to concisely express that.
2024-01-05 20:26:26 -06:00
Vemahk
8191e82eca README.md change 2024-01-05 20:18:30 -06:00
Vemahk
887cdd8b0e updated relevant comment 2024-01-05 20:15:32 -06:00
Vemahk
235e9045fc readd -Dopenssl to zap build.
modify readme for instructions how to use it
2024-01-05 20:04:38 -06:00
Rene Schallner
7ca46c4f10 dang, new version in .zon did not get committed 2024-01-05 14:43:36 +01:00
GitHub Action
7ecbfbb825 Update README 2024-01-05 13:11:34 +00:00
Rene Schallner
5a5606957d update README: build openssl env var 2024-01-05 13:55:51 +01:00
Rene Schallner
6e5d028d51 openssl support depend on ZAP_USE_OPENSSL=true env 2024-01-05 13:44:01 +01:00
GitHub Action
081bd05a5b Update README 2023-12-31 00:42:45 +00:00
Rene Schallner
5da64cc748 updating build.zig.zon for imminent release 2023-12-31 01:40:28 +01:00
Rene Schallner
feb4ad5c77
Merge pull request #57 from StringNick/http-method-options
http method options support
2023-12-31 01:17:02 +01:00
Rene Schallner
87aca69ff8 updated GH zig-11 workflow to run tests step by step 2023-12-31 00:39:43 +01:00
Rene Schallner
012452e1e1 http_auth test: http client code "fix"; also: 1 use 1 worker instead of 0 explicitly 2023-12-31 00:18:24 +01:00
GitHub Action
790ee37181 Update README 2023-12-30 12:17:03 +00:00
Rene Schallner
ed827ca602 oops. tls.zig 2023-12-30 13:15:22 +01:00
GitHub Action
ef9608a719 Update README 2023-12-30 02:54:45 +00:00
Rene Schallner
abc3f01688 updated build.zig.zon for imminent release 2023-12-30 03:50:25 +01:00
Rene Schallner
5770e1673a refactored zap.Tls 2023-12-30 03:47:10 +01:00
Rene Schallner
1061c2d4ba added zap.Tls, updated https example 2023-12-30 03:28:21 +01:00
Rene Schallner
83dd0153ef Update README to point to 0.12.0 branch 2023-12-30 00:05:49 +01:00
Rene Schallner
39b543a45e for now: skip http in zig build all 2023-12-29 23:39:22 +01:00
GitHub Action
56cead12a6 Update README 2023-12-29 17:04:31 +00:00
Rene Schallner
e85a24c006 Added https example to README 2023-12-29 17:52:09 +01:00
Rene Schallner
5e789ee87a added https example 2023-12-29 17:44:25 +01:00
Rene Schallner
edf585c220 added tls support to zap 2023-12-29 17:31:10 +01:00
Rene Schallner
ff1a0a2174 facilio: openssl exit codes suggested by @CoalNova 2023-12-29 16:13:58 +01:00
Rene Schallner
62fc16aaac build.zig changes for conditional openssl support 2023-12-29 15:57:20 +01:00
stringnick
7dcac55191 http method options support 2023-12-27 23:25:57 +01:00
Rene Schallner
cbccf535c3 A: zig-master branch 2023-12-27 15:04:49 +01:00
Rene Schallner
07e922db76 Added Windows Q 2023-12-27 15:03:12 +01:00
GitHub Action
03887990f1 Update README 2023-12-22 03:29:52 +00:00
Rene Schallner
6ef7559fd8 attempt to fix new facilio build: install lib 2023-12-22 04:24:25 +01:00
Rene Schallner
e75e1b06e9 swallowed facil.io into zap 2023-12-22 04:03:32 +01:00