Back to FlowSsh Documentation

ClientSessionChannel - Close


__cdecl FlowSshC_ClientSessionChannel_Close(
  FlowSshC_ClientSessionChannel* channel,
  FlowSshC_ProgressHandler handler,
  void* handlerData);


[ClientSessionChannel] void Close(RefPtr<ProgressHandler> const& progress);


[ClientSessionChannel] public void Close(ProgressHandler progress);


  • [C] channel: FlowSshC_ClientSessionChannel pointer.
  • [C] handler: A ProgressHandler function to be used with the request. Optional.
  • [C] handlerData: An application-defined value to be passed to the handler. Optional.
  • [Cpp/Net] progress: A ProgressHandler object to be used with the request. Optional.


Initiates a close operation. Sending data or requests after [ClientSessionChannel]Close will fail with a "Session channel is closed" message.