Documentation
    Preparing search index...

    Interface MockResourceEntry

    Extra https resource served by the mock.

    const extra: MockResourceEntry = { bytes: new Uint8Array([1, 2, 3]), mime: 'application/octet-stream' };
    
    interface MockResourceEntry {
        bytes: Uint8Array;
        mime?: string;
    }
    Index

    Properties

    Properties

    bytes: Uint8Array

    Bytes to deliver.

    mime?: string

    MIME override; sniffed from bytes when omitted.