Update README.md

This commit is contained in:
flopetautschnig 2023-04-24 17:08:36 +02:00 committed by GitHub
parent 474d8db26f
commit a3a1718341
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,6 @@
# zerve # zerve
A simple framework for writing web services in zig. A simple framework for writing web services in zig.
[Create a simple web app]("#create-a-simple-web-app")
[Types]("#types)
[Route]("#route")
[Handler Functions]("#handler-functions")
[Request]("#request)
[Response]("#response")
[Header]("#header")
[Method]("#method")
[HTTP-Version]("#http-version)"
[Namespaces]("#namespaces")
[Server]("#server")
## Create a simple web app ## Create a simple web app
@ -193,4 +182,4 @@ Server is a namespace to configure IP and Port the app will listen to by calling
You can also choose an allocator that the app will use for dynamic memory allocation. You can also choose an allocator that the app will use for dynamic memory allocation.
```zig ```zig
pub fn listen(ip: []const u8, port: u16, rt: []const Route, allocator: std.mem.Allocator) !void {...} pub fn listen(ip: []const u8, port: u16, rt: []const Route, allocator: std.mem.Allocator) !void {...}
``` ```