Class MemoryHttpResponse

Hierarchy

Constructors

Properties

body: Buffer = ...
headers: {
    [name: string]: number | string | string[] | undefined;
} = ...

Type declaration

  • [name: string]: number | string | string[] | undefined

Accessors

Methods

  • Parameters

    • chunk: any
    • Optional encoding: any
    • Optional callback: any

    Returns any

  • Parameters

    • name: string

    Returns undefined | string | number | string[]

  • Parameters

    • chunk: any
    • encoding: any
    • Optional callback: any

    Returns any

  • Parameters

    • statusCode: number
    • Optional headersOrReasonPhrase: string | OutgoingHttpHeaders | OutgoingHttpHeader[]
    • Optional headers: OutgoingHttpHeaders | OutgoingHttpHeader[]

    Returns MemoryHttpResponse

Generated using TypeDoc