From 241e58e3e8e5a20c5f2fc6a14f0dfaf93e595fb0 Mon Sep 17 00:00:00 2001 From: Joseph Klix Date: Thu, 22 Feb 2024 16:58:49 -0600 Subject: [PATCH] remove aws_tls_handler_write (#628) --- include/aws/io/tls_channel_handler.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/aws/io/tls_channel_handler.h b/include/aws/io/tls_channel_handler.h index 5c630de83..9c35864a1 100644 --- a/include/aws/io/tls_channel_handler.h +++ b/include/aws/io/tls_channel_handler.h @@ -803,18 +803,6 @@ AWS_IO_API struct aws_tls_ctx *aws_tls_ctx_acquire(struct aws_tls_ctx *ctx); */ AWS_IO_API void aws_tls_ctx_release(struct aws_tls_ctx *ctx); -/** - * 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. - */ -AWS_IO_API int aws_tls_handler_write( - struct aws_channel_handler *handler, - struct aws_channel_slot *slot, - struct aws_byte_buf *buf, - aws_channel_on_message_write_completed_fn *on_write_completed, - void *completion_user_data); - /** * Returns a byte buffer by copy of the negotiated protocols. If there is no agreed upon protocol, len will be 0 and * buffer will be NULL.