mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
Merge pull request #5 from qbradley/pub_types
Make ContentType, HttpParam, and ListenError public
This commit is contained in:
commit
967c23aa2b
1 changed files with 3 additions and 3 deletions
|
@ -35,17 +35,17 @@ pub fn start(args: C.fio_start_args) void {
|
|||
C.fio_start(args);
|
||||
}
|
||||
|
||||
const ListenError = error{
|
||||
pub const ListenError = error{
|
||||
AlreadyListening,
|
||||
ListenError,
|
||||
};
|
||||
|
||||
const HttpParam = struct {
|
||||
pub const HttpParam = struct {
|
||||
key: []const u8,
|
||||
value: []const u8,
|
||||
};
|
||||
|
||||
const ContentType = enum {
|
||||
pub const ContentType = enum {
|
||||
TEXT,
|
||||
HTML,
|
||||
JSON,
|
||||
|
|
Loading…
Add table
Reference in a new issue