@valon-technologies/gestalt
    Preparing search index...

    Interface OperationResult

    Serialized operation result returned by the protocol runtime.

    interface OperationResult {
        status: number;
        headers: Record<string, string[]>;
        body: Uint8Array;
        ok: boolean;
        bytes(): Uint8Array;
        text(): string;
        json<T = unknown>(): T;
        requireOk(): OperationResult;
    }
    Index

    Properties

    status: number
    headers: Record<string, string[]>
    body: Uint8Array
    ok: boolean

    Methods

    • Returns Uint8Array

    • Returns string

    • Type Parameters

      • T = unknown

      Returns T