mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-31 09:29:42 +00:00
remove libdom
This commit is contained in:
22
src/browser/webapi/net/Fetch.zig
Normal file
22
src/browser/webapi/net/Fetch.zig
Normal file
@@ -0,0 +1,22 @@
|
||||
const std = @import("std");
|
||||
|
||||
const js = @import("../../js/js.zig");
|
||||
const Page = @import("../../Page.zig");
|
||||
|
||||
const Request = @import("Request.zig");
|
||||
const Response = @import("Response.zig");
|
||||
|
||||
const Allocator = std.mem.Allocator;
|
||||
|
||||
_arena: Allocator,
|
||||
_promise: js.Promise,
|
||||
_has_response: bool,
|
||||
|
||||
pub const Input = Request.Input;
|
||||
|
||||
pub fn init(input: Input, page: *Page) !js.Promise {
|
||||
// @ZIGDOM
|
||||
_ = input;
|
||||
_ = page;
|
||||
return undefined;
|
||||
}
|
||||
Reference in New Issue
Block a user