489f6b4b
update to zig v0.14.0-dev
Gregory Mullen
parent e2ba59d1
e2ba59d1
websocket example that pretends to be two way
Gregory Mullen
parent 51443fc1
51443fc1
add websocket message type
Gregory Mullen
parent dad8bf3b
dad8bf3b
restructure websockets
Gregory Mullen
parent 2c06156c
2c06156c
add websocket prototype
Gregory Mullen
parent 178c8ee5
178c8ee5
start conversion of request headers to be static
started because websockets, but got distracted
Gregory Mullen
parent b12f07b8
b12f07b8
replace a superior API with a hack to use iovec
Gregory Mullen
parent 49339404
49339404
new iovec abstraction
Gregory Mullen
parent e161bd22
e161bd22
move imports in api example
Gregory Mullen
parent 0937d679
0937d679
make template example match the common layout
Gregory Mullen
parent ff0700f2
ff0700f2
add some additional comments to request-userdata
Gregory Mullen
parent a65e9e06
a65e9e06
reorder cookie example
Gregory Mullen
parent 0d57619c
0d57619c
add some docs to basic example
Gregory Mullen
parent 0ded6d90
0ded6d90
expand readme
Gregory Mullen
parent 95b0db27
95b0db27
add antibiotic string filtering module
Gregory Mullen
parent 2e1a1a62
2e1a1a62
make build inline to avoid alloc
Gregory Mullen
parent d34e9c23
d34e9c23
reorder and clean up verse.zig
Gregory Mullen
parent 53b3cd68
53b3cd68
fix build from 2s to 21ms
Gregory Mullen
parent a26302ea
a26302ea
alias live in another castle
I think this reintroduces a bug with deep routing stacks, but I don't
have a clear test case yet, where I do have working code in srctree now
Gregory Mullen
parent 836382ee
836382ee
add verse_alias support to endpoints
Gregory Mullen
parent 2a98a2bf
2a98a2bf
add support for verse_router
Gregory Mullen
parent 14ab6ed2
14ab6ed2
simplify endpoint options
Gregory Mullen
parent 0486c686
0486c686
add basic api example
Jeremy Hertel
parent 0c8e59e9
0c8e59e9
add endpoint builder and improve compile errors
Gregory Mullen
parent 6a3a0567
6a3a0567
fix doc comments in example
Gregory Mullen
parent 88f01a5c
88f01a5c
flatten out the api for the required options
Gregory Mullen
parent 4ee7c385
4ee7c385
make the lib version work as a lib
Gregory Mullen
parent 0f4127db
0f4127db
add basic content type detection based on file extension
Jeremy Hertel
parent bea1f183
bea1f183
fix some json error types
Gregory Mullen
parent adeb5b70
adeb5b70
add version from git to build.zig
Gregory Mullen
parent a2bfacb9
a2bfacb9
rename request_data.zig _ should be -
Gregory Mullen
parent fb3de2a7
fb3de2a7
remove unreachable from request_data.zig
Gregory Mullen
parent 23a5aaf7
23a5aaf7
remove unreachable from router.zig
Gregory Mullen
parent 8615dfd9
8615dfd9
remove unreachable from frame.zig
Gregory Mullen
parent f6476f22
f6476f22
mark HeaderFinished error as unreachable in sendJSON, sendHTML, sendPage
Jeremy Hertel
parent 82d44277
82d44277
make status code the first argument in sendJSON
Jeremy Hertel
parent dd204d7a
dd204d7a
update documentation of sendRawSlice
Jeremy Hertel
parent 64140e6e
64140e6e
remove quickStart and add sendHTML
Jeremy Hertel
parent ac87aa07
ac87aa07
add MIT licence
Gregory Mullen
parent fbcdeb45
fbcdeb45
make ResponseData mostly functional
Gregory Mullen
parent 3fa90a0b
3fa90a0b
Expand readme with examples
also fixes an html bug in user data example
Gregory Mullen
parent 6f8c0bf0
6f8c0bf0
documented request data example
Gregory Mullen
parent 2bbc5d0e
2bbc5d0e
make the default OOM panic text helpful
Gregory Mullen
parent 73a3b641
73a3b641
fix bug in endpoint counter and add a test
Gregory Mullen
parent 97d7869e
97d7869e
add example for userdata
Gregory Mullen
parent 5186cb9d
5186cb9d
move some functions in Frame.zig pt 3
Gregory Mullen
parent 7349391f
7349391f
move some functions in Frame.zig pt 2
Gregory Mullen
parent 1a224c2f
1a224c2f
move some functions in Frame.zig pt 1
Gregory Mullen
parent 41dbcf31
41dbcf31
move some functions in Frame.zig pt 0
Gregory Mullen
parent 6852ce87
6852ce87
add some Frame docs
Gregory Mullen
parent df1c50ba
More