fn write(c: *Client, stream: anytype, bytes: []const u8) !usize

Sends TLS-encrypted data to stream, which must conform to StreamInterface. Returns the number of plaintext bytes sent, which may be fewer than bytes.len.

Parameters

c: *Client,
stream: anytype,
bytes: []const u8,