Kcl.new_connection_state
You're seeing just the function
new_connection_state
, go back to Kcl module for more information.
Link to this function
new_connection_state(our_private, our_public \\ nil, their_public)
View SourceSpecs
new_connection_state(key(), key() | nil, key()) :: Kcl.State.t()
create an inital state for a peer connection
A convenience wrapper around Kcl.State.init
and Kcl.State.new_peer