|
b3a3a66068
|
Handle not found errors better
|
2022-07-10 17:52:28 -07:00 |
|
|
470fa50bb1
|
Get ID from route
|
2022-07-10 17:40:17 -07:00 |
|
|
b738a02e16
|
Pass note ID to db
|
2022-07-10 17:14:32 -07:00 |
|
|
5933e37f85
|
Retrieve note dynamically
|
2022-07-10 17:12:52 -07:00 |
|
|
80c94711ae
|
Add id
|
2022-07-10 17:10:15 -07:00 |
|
|
c130391186
|
Build Database connection
|
2022-07-10 17:07:15 -07:00 |
|
|
9c2bd11526
|
Split out json printing code
|
2022-07-10 17:01:36 -07:00 |
|
|
685dc13455
|
Another shot at db shit
|
2022-07-10 16:53:17 -07:00 |
|
|
1bcbeb098e
|
Log chosen route
|
2022-07-10 15:24:54 -07:00 |
|
|
8d71846826
|
cleaning up
|
2022-07-10 15:19:21 -07:00 |
|
|
3bd1bfc972
|
Messing with routes
|
2022-07-09 22:05:01 -07:00 |
|
|
f58e0c074c
|
Make routing more obviously WIP
|
2022-07-09 19:56:07 -07:00 |
|
|
5fc8b99051
|
Separate request handling and acceptance
|
2022-07-09 18:01:03 -07:00 |
|
|
013bc015c5
|
API Refactoring
|
2022-07-09 15:43:35 -07:00 |
|
|
ff6d8f8e03
|
Fix error union compile errors
|
2022-07-09 15:18:48 -07:00 |
|
|
f86873395b
|
Fix compile errors on parse errors
|
2022-07-09 15:17:44 -07:00 |
|
|
61c989acde
|
Handle connection cleanup
|
2022-07-09 15:14:49 -07:00 |
|
|
bb32c2006a
|
Fix method signature for ResponseStream
|
2022-07-09 15:12:17 -07:00 |
|
|
b1d47ff607
|
Fix pub
|
2022-07-09 15:11:05 -07:00 |
|
|
a93039534c
|
Remake basic main.zig handler
|
2022-07-09 15:07:51 -07:00 |
|
|
c1c5e3014d
|
Fix std.net.StreamServer.Connection ref
|
2022-07-09 15:04:46 -07:00 |
|
|
ce08b76cdc
|
Fix build.zig
|
2022-07-09 15:03:57 -07:00 |
|
|
04d83a603c
|
HttpServer
|
2022-07-09 14:18:43 -07:00 |
|
|
21a153ba9d
|
Separate request parsing and server code
|
2022-07-09 13:09:30 -07:00 |
|
|
fd27199813
|
Fix ConnectionServer
|
2022-07-09 12:46:55 -07:00 |
|
|
053de35d33
|
Add http.Context
|
2022-07-09 12:41:09 -07:00 |
|
|
8ba0ebd84c
|
Move connection to conn.zig
|
2022-06-26 00:00:14 -07:00 |
|
|
f5af54e5d1
|
Handle basic HTTP errors
|
2022-06-25 23:35:31 -07:00 |
|
|
5e796d3b3d
|
Add request parsing to http lib
|
2022-06-25 23:03:37 -07:00 |
|
|
f4e8690d28
|
Add router
|
2022-06-20 23:04:39 -07:00 |
|
|
7411f5f9b8
|
Add PathIter
|
2022-06-02 11:33:16 -07:00 |
|
|
48c12f2e8c
|
Create functions in build.zig
|
2022-06-08 23:54:15 -07:00 |
|
|
687fd6ef9d
|
Start work on new http pkg
|
2022-06-08 23:44:36 -07:00 |
|
|
0f7754802d
|
Split util into own package
|
2022-06-08 22:54:41 -07:00 |
|
|
407923eacd
|
Make handlers return new Response object
|
2022-05-23 21:58:05 -07:00 |
|
|
004568a907
|
Add new context object
|
2022-05-23 21:54:26 -07:00 |
|
|
c141d537c8
|
Move to using zig master apis
|
2022-05-23 19:05:28 -07:00 |
|
|
e456a0aa13
|
Prepare to use new router
|
2022-05-22 19:37:56 -07:00 |
|
|
9e3cb40fca
|
update names
|
2022-05-22 13:17:46 -07:00 |
|
|
f2aec8249b
|
Turn routers into functions
|
2022-05-22 13:07:30 -07:00 |
|
|
b2430b333c
|
Major refactor in router.zig
|
2022-05-22 12:58:03 -07:00 |
|
|
789e9062b2
|
Add way to specify route params
|
2022-05-21 20:22:26 -07:00 |
|
|
c19cc267bf
|
Store path segments instead of path
|
2022-05-20 22:48:43 -07:00 |
|
|
d885dc5fc8
|
Match routes by path segments
|
2022-05-20 02:10:50 -07:00 |
|
|
283b85cfcc
|
Add Route.bind
|
2022-05-19 21:46:39 -07:00 |
|
|
626a7d33b0
|
Split out Route into separate fn
|
2022-05-19 21:25:03 -07:00 |
|
|
c2be0e9833
|
Make path comparison case-insensitive
|
2022-05-19 21:13:04 -07:00 |
|
|
64004cbd82
|
Clean up tests
|
2022-05-19 21:08:58 -07:00 |
|
|
b24d96233d
|
Test values passed to handler
|
2022-05-19 20:53:04 -07:00 |
|
|
d4d3226a39
|
Add http method routing
|
2022-05-19 20:27:21 -07:00 |
|