xhr: implement async http client

This commit is contained in:
Pierre Tachoire
2024-01-31 09:46:12 +01:00
parent 2fa66f93fd
commit 2b79a65d6d
3 changed files with 117 additions and 8 deletions

View File

@@ -5,6 +5,7 @@ const Console = @import("jsruntime").Console;
const DOM = @import("dom/dom.zig");
const HTML = @import("html/html.zig");
const Events = @import("events/event.zig");
const XHR = @import("xhr/xhr.zig");
pub const HTMLDocument = @import("html/document.zig").HTMLDocument;
@@ -14,4 +15,5 @@ pub const Interfaces = generate.Tuple(.{
DOM.Interfaces,
Events.Interfaces,
HTML.Interfaces,
XHR.Interfaces,
});