pub unsafe extern "C" fn aws_tls_handler_write(
handler: *mut aws_channel_handler,
slot: *mut aws_channel_slot,
buf: *mut aws_byte_buf,
on_write_completed: aws_channel_on_message_write_completed_fn,
completion_user_data: *mut c_void
) -> c_int
Expand description
Not necessary if you are installing more handlers into the channel, but if you just want to have TLS for arbitrary data and use the channel handler directly, this function allows you to write data to the channel and have it encrypted.