Changed definition of start/2
client_properties is either a proplist, or a map; Same definition than deps/rabbitmq_stream/src/rabbit_stream_reader.erl
This commit is contained in:
parent
508528a15d
commit
e1a35da8f8
|
|
@ -88,8 +88,10 @@
|
|||
%% <li>node :: atom() - The node the broker runs on (direct only)</li>
|
||||
%% <li>adapter_info :: amqp_adapter_info() - Extra management information for if
|
||||
%% this connection represents a non-AMQP network connection.</li>
|
||||
%% <li>client_properties :: [{binary(), atom(), binary()}] - A list of extra
|
||||
%% client properties to be sent to the server, defaults to []</li>
|
||||
%% <li>client_properties :: [{binary(), atom(), binary()}]
|
||||
%% | #{binary() => binary()}
|
||||
%% - A list (or a map) of extra client properties to be sent to the server,
|
||||
%% defaults to []</li>
|
||||
%% </ul>
|
||||
%%
|
||||
%% @type amqp_params_network() = #amqp_params_network{}.
|
||||
|
|
@ -116,8 +118,10 @@
|
|||
%% defaults to 30000 (network only)</li>
|
||||
%% <li>ssl_options :: term() - The second parameter to be used with the
|
||||
%% ssl:connect/2 function, defaults to 'none' (network only)</li>
|
||||
%% <li>client_properties :: [{binary(), atom(), binary()}] - A list of extra
|
||||
%% client properties to be sent to the server, defaults to []</li>
|
||||
%% <li>client_properties :: [{binary(), atom(), binary()}]
|
||||
%% | #{binary() => binary()}
|
||||
%% - A list (or a map) of extra client properties to be sent to the server,
|
||||
%% defaults to []</li>
|
||||
%% <li>socket_options :: [any()] - Extra socket options. These are
|
||||
%% appended to the default options. See
|
||||
%% <a href="https://www.erlang.org/doc/man/inet.html#setopts-2">inet:setopts/2</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue