J0 / phoenix_gen_socket_client

Socket client behaviour for phoenix channels
MIT License
232 stars 48 forks source link

Add socket_opts to websocket client options #64

Closed matt-mazzucato closed 3 years ago

matt-mazzucato commented 3 years ago

Allow passing also socket_opts to the underlying websocket client. This is required to pass additional ssl options to the socket, which might be useful in some usecases (e.g. :customize_hostname_check to support wildcard certificates)

J0 commented 3 years ago

Hey Matt,

Thanks for the PR! Looks good to me -- will publish a new release with this change at the end of month.

Joel