RawChannel

public protocol RawChannel

Undocumented

  • Undocumented

    Declaration

    Swift

    var opened: Bool { get }
  • Undocumented

    Declaration

    Swift

    var receivedEOF: Bool { get }
  • Undocumented

    Declaration

    Swift

    func openChannel() throws
  • Undocumented

    Declaration

    Swift

    func closeChannel() throws
  • Undocumented

    Declaration

    Swift

    func setEnvironment(_ environment: Environment) throws
  • Undocumented

    Declaration

    Swift

    func requestPseudoTerminal(_ terminal: Terminal) throws
  • Undocumented

    Declaration

    Swift

    func setPseudoTerminalSize(_ terminal: Terminal) throws
  • Undocumented

    Declaration

    Swift

    func exec(_ command: String) throws
  • Undocumented

    Declaration

    Swift

    func shell() throws
  • Undocumented

    Declaration

    Swift

    func read() throws -> Data
  • Undocumented

    Declaration

    Swift

    func readError() throws -> Data
  • Undocumented

    Declaration

    Swift

    func write(_ data: Data) -> (error: Error?, bytesSent: Int)
  • Undocumented

    Declaration

    Swift

    func exitStatus() -> Int?
  • Undocumented

    Declaration

    Swift

    func sendEOF() throws