Back to FlowSsh Documentation

ClientSessionChannel - Close

[C]

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

[C++]

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

[C#]

[ClientSessionChannel] public void Close(ProgressHandler progress);

Parameters

  • [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.

Remarks

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