add commented code for proxy usage
This commit is contained in:
parent
812d48b681
commit
d49ccfcb2a
|
@ -11,6 +11,13 @@ pub fn main() !u8 {
|
||||||
defer arena.deinit();
|
defer arena.deinit();
|
||||||
const allocator = arena.allocator();
|
const allocator = arena.allocator();
|
||||||
var client = std.http.Client{ .allocator = allocator };
|
var client = std.http.Client{ .allocator = allocator };
|
||||||
|
// .allocator = allocator,
|
||||||
|
// .proxy = .{
|
||||||
|
// .protocol = .plain,
|
||||||
|
// .host = "localhost",
|
||||||
|
// .port = 8080,
|
||||||
|
// },
|
||||||
|
// };
|
||||||
|
|
||||||
const stdout_file = std.io.getStdOut().writer();
|
const stdout_file = std.io.getStdOut().writer();
|
||||||
var bw = std.io.bufferedWriter(stdout_file);
|
var bw = std.io.bufferedWriter(stdout_file);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user