Interface OngoingBody

interface OngoingBody {
    asBuffer: (() => Promise<Buffer>);
    asDecodedBuffer: (() => Promise<Buffer>);
    asFormData: (() => Promise<{
        [key: string]: string | string[] | undefined;
    }>);
    asJson: (() => Promise<object>);
    asStream: (() => Readable);
    asText: (() => Promise<string>);
}

Properties

asBuffer: (() => Promise<Buffer>)
asDecodedBuffer: (() => Promise<Buffer>)
asFormData: (() => Promise<{
    [key: string]: string | string[] | undefined;
}>)
asJson: (() => Promise<object>)
asStream: (() => Readable)
asText: (() => Promise<string>)