%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/node_modules/pm2/node_modules/get-uri/dist/
Upload File :
Create Path :
Current File : //lib/node_modules/pm2/node_modules/get-uri/dist/http.d.ts

/// <reference types="node" />
import http from 'http';
import https from 'https';
import { Readable } from 'stream';
import { UrlWithStringQuery } from 'url';
import { GetUriOptions } from '.';
declare type HttpOrHttpsModule = typeof http | typeof https;
export interface HttpReadableProps {
    date?: number;
    parsed?: UrlWithStringQuery;
    redirects?: HttpReadable[];
}
export interface HttpReadable extends Readable, HttpReadableProps {
}
export interface HttpIncomingMessage extends http.IncomingMessage, HttpReadableProps {
}
export interface HttpOptions extends GetUriOptions, https.RequestOptions {
    cache?: HttpReadable;
    http?: HttpOrHttpsModule;
    redirects?: HttpReadable[];
    maxRedirects?: number;
}
/**
 * Returns a Readable stream from an "http:" URI.
 */
export default function get(parsed: UrlWithStringQuery, opts: HttpOptions): Promise<Readable>;
export {};

Zerion Mini Shell 1.0