@zeroc/ice
    Preparing search index...

    Class OutgoingResponse

    Represents the response to an incoming request. It's returned by Object#dispatch.

    Index

    Constructors

    • Constructs an outgoing response.

      Parameters

      • outputStream: OutputStream

        The output stream that holds the response.

      • replyStatus: ReplyStatus

        The reply status.

      • OptionalexceptionId: string

        The ID of the exception, when the response carries an exception other than a user exception.

      • OptionalexceptionDetails: string

        The full details of the exception, when the response carries an exception other than a user exception.

      Returns OutgoingResponse

    Properties

    exceptionDetails: string

    The exception details marshaled into the response. It's null when replyStatus is ReplyStatus.Ok or ReplyStatus.UserException.

    exceptionId: string

    The exception ID of the response. It's null when replyStatus is ReplyStatus.Ok or ReplyStatus.UserException.

    outputStream: OutputStream

    The output stream buffer of the response. This output stream should not be written to after construction.

    replyStatus: ReplyStatus

    The reply status of the response.

    size: number

    The number of bytes in the response's payload.