diff --git a/include/aws/http/websocket.h b/include/aws/http/websocket.h index 16e3cf1a1..7b124bd18 100644 --- a/include/aws/http/websocket.h +++ b/include/aws/http/websocket.h @@ -140,20 +140,20 @@ struct aws_websocket_client_connection_options { * Required. * aws_websocket_client_connect() makes a copy. */ - struct aws_socket_options *socket_options; + const struct aws_socket_options *socket_options; /** * Optional. * aws_websocket_client_connect() deep-copies all contents except the `aws_tls_ctx`, * which must outlive the the connection. */ - struct aws_tls_connection_options *tls_options; + const struct aws_tls_connection_options *tls_options; /** * Optional * Configuration options related to http proxy usage. */ - struct aws_http_proxy_options *proxy_options; + const struct aws_http_proxy_options *proxy_options; /** * Required.