mockttp
    Preparing search index...

    Class FixedResponseStep

    The definition of a request rule step, which can be passed to Mockttp to define a rule.

    Implementation of the step is not included in the definition classes, but instead exists in an *Impl class defined separately and used internally.

    Hierarchy (View Summary)

    Implements

    Index
    data?:
        | string
        | Uint8Array<ArrayBufferLike>
        | Buffer<ArrayBufferLike>
        | SerializedBuffer
    headers?: Headers
    status: number
    statusMessage?: string
    trailers?: Trailers
    type: "simple" = 'simple'
    isFinal: true