executeCommand(_:maxResponseSize:)

    Executes a command on the remote server. This will return the output of the command. If the command fails, the error will be thrown. If the output is too large, the command will fail.

    ExecClient.swift:83
    func executeCommand(_ command: String, maxResponseSize: Int = .max) async throws -> ByteBuffer
    • command: The command to execute.

    • maxResponseSize: The maximum size of the response. If the response is larger, the command will fail.

    Other members in extension

    Types

    Type members

    Instance members