add comments
This commit is contained in:
parent
112cc73168
commit
048b6290b7
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue