From 28787deb97b2a7cd96754e59dc643c5aa728c192 Mon Sep 17 00:00:00 2001 From: Yoshiyuki Kurauchi Date: Fri, 19 Sep 2025 11:40:17 +0200 Subject: [PATCH 1/3] ssl_options -> client_option --- src/grpcbox_channel.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/grpcbox_channel.erl b/src/grpcbox_channel.erl index 2c4781f..0119e56 100644 --- a/src/grpcbox_channel.erl +++ b/src/grpcbox_channel.erl @@ -22,8 +22,8 @@ -type transport() :: http | https. -type host() :: inet:ip_address() | inet:hostname(). -type connection_settings() :: map(). --type endpoint() :: {transport(), host(), inet:port_number(), [ssl:ssl_options()]} | - {transport(), host(), inet:port_number(), [ssl:ssl_options()], connection_settings()}. +-type endpoint() :: {transport(), host(), inet:port_number(), [ssl:client_option()]} | + {transport(), host(), inet:port_number(), [ssl:client_option()], connection_settings()}. -type options() :: #{balancer => load_balancer(), encoding => gprcbox:encoding(), From d84f937312b598ff42cd2a2b277d720db75a1d0a Mon Sep 17 00:00:00 2001 From: Yoshiyuki Kurauchi Date: Tue, 23 Sep 2025 12:12:59 +0200 Subject: [PATCH 2/3] test --- src/grpcbox_channel.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/grpcbox_channel.erl b/src/grpcbox_channel.erl index 0119e56..b0b1ee5 100644 --- a/src/grpcbox_channel.erl +++ b/src/grpcbox_channel.erl @@ -22,8 +22,8 @@ -type transport() :: http | https. -type host() :: inet:ip_address() | inet:hostname(). -type connection_settings() :: map(). --type endpoint() :: {transport(), host(), inet:port_number(), [ssl:client_option()]} | - {transport(), host(), inet:port_number(), [ssl:client_option()], connection_settings()}. +-type endpoint() :: {transport(), host(), inet:port_number(), [ssl:tls_client_option()]} | + {transport(), host(), inet:port_number(), [ssl:tls_client_option()], connection_settings()}. -type options() :: #{balancer => load_balancer(), encoding => gprcbox:encoding(), From 7bf0a041fb35d0b1075a52535937b81f5905a3ff Mon Sep 17 00:00:00 2001 From: Yoshiyuki Kurauchi Date: Tue, 23 Sep 2025 12:42:57 +0200 Subject: [PATCH 3/3] test --- src/grpcbox_channel.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/grpcbox_channel.erl b/src/grpcbox_channel.erl index b0b1ee5..38ae4a3 100644 --- a/src/grpcbox_channel.erl +++ b/src/grpcbox_channel.erl @@ -22,8 +22,8 @@ -type transport() :: http | https. -type host() :: inet:ip_address() | inet:hostname(). -type connection_settings() :: map(). --type endpoint() :: {transport(), host(), inet:port_number(), [ssl:tls_client_option()]} | - {transport(), host(), inet:port_number(), [ssl:tls_client_option()], connection_settings()}. +-type endpoint() :: {transport(), host(), inet:port_number(), [ssl:tls_option()]} | + {transport(), host(), inet:port_number(), [ssl:tls_option()], connection_settings()}. -type options() :: #{balancer => load_balancer(), encoding => gprcbox:encoding(),