nexus-rpc
    Preparing search index...

    Interface ContentExperimental

    A container for a map of headers and a byte array of data.

    It is used by the SDK's Serializer interface implementations.

    interface Content {
        data?: Uint8Array<ArrayBufferLike>;
        headers: Record<string, string>;
    }
    Index

    Properties

    Properties

    data?: Uint8Array<ArrayBufferLike>

    Request or response data. May be undefined for empty data.

    headers: Record<string, string>

    Header that should include information on how to deserialize this content. Headers constructed by the framework always have lower case keys. User provided keys are considered case-insensitive by the framework.