SSHShell

public class SSHShell<T> : SSHChannel<T> where T : RawLibrary

Undocumented

  • Undocumented

    Declaration

    Swift

    public fileprivate(set) var readStringCallback: ((String?, String?) -> Void)?
  • Undocumented

    Declaration

    Swift

    public fileprivate(set) var readDataCallback: ((Data?, Data?) -> Void)?
  • Undocumented

    Declaration

    Swift

    public func withCallback(_ callback: ((_ string: String?, _ error: String?) -> Void)?) -> Self
  • Undocumented

    Declaration

    Swift

    public func withCallback(_ callback: ((_ data: Data?, _ error: Data?) -> Void)?) -> Self
  • Undocumented

    Declaration

    Swift

    public func open() -> Self
  • Undocumented

    Declaration

    Swift

    public func open(_ completion: SSHCompletionBlock?)
  • Undocumented

    Declaration

    Swift

    public func close(_ completion: (() -> ())?)
  • Undocumented

    Declaration

    Swift

    public func write(_ data: Data) -> Self
  • Undocumented

    Declaration

    Swift

    public func write(_ data: Data, completion: ((Error?) -> Void)?)
  • Undocumented

    Declaration

    Swift

    public func write(_ command: String) -> Self
  • Undocumented

    Declaration

    Swift

    public func write(_ command: String, completion: ((Error?) -> Void)?)