Function gix_protocol::indicate_end_of_interaction
source ยท pub fn indicate_end_of_interaction(
transport: impl Transport,
trace: bool,
) -> Result<(), Error>
Available on crate features
blocking-client
or async-client
only.Expand description
Send a message to indicate the remote side that there is nothing more to expect from us, indicating a graceful shutdown.
If trace
is true
, all packetlines received or sent will be passed to the facilities of the gix-trace
crate.