Function write [src]
Sends TLS-encrypted data to stream, which must conform to StreamInterface.
Returns the number of cleartext bytes sent, which may be fewer than bytes.len.
Prototype
pub fn write(c: *Client, stream: anytype, bytes: []const u8) !usize
Parameters
c: *Client
bytes: []const u8
Source
pub fn write(c: *Client, stream: anytype, bytes: []const u8) !usize {
return writeEnd(c, stream, bytes, false);
}