Files
bun.sh/src/sql/postgres/TLSStatus.zig
2025-07-07 18:41:01 -07:00

12 lines
272 B
Zig

pub const TLSStatus = union(enum) {
none,
pending,
/// Number of bytes sent of the 8-byte SSL request message.
/// Since we may send a partial message, we need to know how many bytes were sent.
message_sent: u8,
ssl_not_available,
ssl_ok,
};