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,
|
uri: []const u8,
|
||||||
/// Represents the request body sent by the client
|
/// Represents the request body sent by the client
|
||||||
body: []const u8,
|
body: []const u8,
|
||||||
|
/// Represents the sent cookies
|
||||||
pub const Cookie = reqcookie.Cookie;
|
pub const Cookie = reqcookie.Cookie;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ pub const Response = struct {
|
||||||
pub fn forbidden(s: []u8) Response {
|
pub fn forbidden(s: []u8) Response {
|
||||||
return Response{ .status = stat.Status.FORBIDDEN, .body = s };
|
return Response{ .status = stat.Status.FORBIDDEN, .body = s };
|
||||||
}
|
}
|
||||||
|
/// Represents the Response Cookie.
|
||||||
pub const Cookie = rescookie.Cookie;
|
pub const Cookie = rescookie.Cookie;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue