Skip to content

Commit

Permalink
tls: use CBK from std/http/Client
Browse files Browse the repository at this point in the history
  • Loading branch information
krichprollsch committed Nov 14, 2024
1 parent 0cd7f52 commit b484a63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/tls.zig/connection.zig
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ const record = @import("record.zig");
const cipher = @import("cipher.zig");
const Cipher = cipher.Cipher;

const async_io = @import("../io.zig");
const async_io = @import("../std/http/Client.zig");
const Cbk = async_io.Cbk;
const Loop = async_io.Blocking;
const Ctx = @import("../std/http/Client.zig").Ctx;
const Ctx = async_io.Ctx;

pub fn connection(stream: anytype) Connection(@TypeOf(stream)) {
return .{
Expand Down

0 comments on commit b484a63

Please sign in to comment.