ClientSessionChannel - OpenRequest

[C]

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

[C++]

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

[C#]

[ClientSessionChannel] public void OpenRequest(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.
     
  • [C++/.NET] progress: A ProgressHandler object to be used with the request. Optional.

Remarks

The client must be connected before sending an open request, otherwise the request will fail immediately through the supplied progress handler. Once the channel is opened, you will usually start a remote application or an interactive shell. To close the channel, call [ClientSessionChannel]Close. A closed channel can be re-opened at any time.