Class SimpleRequest

Hierarchy

Constructors

Properties

agent: Agent
compress: boolean = true
contentType: string = "application/json"
follow: number = 20
size: number = 0
timeout: number = 0
userAgent: string = "HandyAcme/1.0.0"

Accessors

Methods

  • Parameters

    • url: RequestInfo
    • Optional options: RequestInit

    Returns Promise<Response>

  • Parameters

    • url: RequestInfo

    Returns Promise<Response>

  • Parameters

    • url: RequestInfo

    Returns Promise<Response>

  • Parameters

    • url: RequestInfo
    • Optional options: RequestInit

    Returns Promise<Response>

Generated using TypeDoc