@kubernetes/client-node
    Preparing search index...

    Class HttpInfo<T>

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    data: T
    headers: Headers
    httpStatusCode: number

    Methods

    • Use a heuristic to get a body of unknown data structure. Return as string if possible, otherwise as binary.

      Returns Promise<undefined | string | Buffer<ArrayBufferLike>>

    • Parse header value in the form value; param1="value1"

      E.g. for Content-Type or Content-Disposition Parameter names are converted to lower case The first parameter is returned with the key ""

      Parameters

      • headerName: string

      Returns Headers