Dynamic module https

Index

Variables

Interfaces

Functions

Variables

Agent: new(options?: "https".RequestOptions) => "https".NodeAgent

constructor(): NodeAgent

Returns

NodeAgent

globalAgent: NodeAgent

Functions

createServer(options: ServerOptions, requestListener?: Function): Server

Parameters

Returns

Server

get(options: RequestOptions, callback?: (res: "events".NodeEventEmitter) => void): ClientRequest

Parameters

  • options: RequestOptions
  • callback?: (res: "events".NodeEventEmitter) => void optional

Returns

ClientRequest

request(options: RequestOptions, callback?: (res: "events".NodeEventEmitter) => void): ClientRequest

Parameters

  • options: RequestOptions
  • callback?: (res: "events".NodeEventEmitter) => void optional

Returns

ClientRequest