mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
add driver field to navigate telemetry
This commit is contained in:
@@ -98,7 +98,6 @@ pub const LightPanda = struct {
|
|||||||
try std.json.stringify(event, .{ .emit_null_optional_fields = false }, arr.writer(self.allocator));
|
try std.json.stringify(event, .{ .emit_null_optional_fields = false }, arr.writer(self.allocator));
|
||||||
|
|
||||||
var response_header_buffer: [2048]u8 = undefined;
|
var response_header_buffer: [2048]u8 = undefined;
|
||||||
|
|
||||||
const result = try client.fetch(.{
|
const result = try client.fetch(.{
|
||||||
.method = .POST,
|
.method = .POST,
|
||||||
.payload = arr.items,
|
.payload = arr.items,
|
||||||
|
|||||||
@@ -99,6 +99,7 @@ pub const Event = union(enum) {
|
|||||||
const Navigate = struct {
|
const Navigate = struct {
|
||||||
tls: bool,
|
tls: bool,
|
||||||
proxy: bool,
|
proxy: bool,
|
||||||
|
driver: []const u8 = "cdp",
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user