add comments

This commit is contained in:
floscodes 2023-05-16 11:13:00 +02:00
parent 112cc73168
commit 048b6290b7

View file

@ -97,7 +97,7 @@ pub const Request = struct {
uri: []const u8,
/// Represents the request body sent by the client
body: []const u8,
/// Represents the sent cookies
pub const Cookie = reqcookie.Cookie;
};
@ -133,7 +133,7 @@ pub const Response = struct {
pub fn forbidden(s: []u8) Response {
return Response{ .status = stat.Status.FORBIDDEN, .body = s };
}
/// Represents the Response Cookie.
pub const Cookie = rescookie.Cookie;
};