Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "requests"

Index

Variables

Const EVENT_WEBVIEWPANEL_DISPOSED

EVENT_WEBVIEWPANEL_DISPOSED: "webviewpanel.disposed" = "webviewpanel.disposed"

Name of an event that is invoked after a WebView panel has been disposed.

Const NormalizeHeaderCase

NormalizeHeaderCase: any = require("header-case-normalizer")

Const REQUESTS

REQUESTS: IHTTPRequest[] = []

The global list of requests.

Let nextHTTPRequestId

nextHTTPRequestId: number = Number.MIN_SAFE_INTEGER

Functions

addRequest

  • Adds a request to the global list.

    Parameters

    Returns number | false

    Item has been added or not.

fromHTTPFile

  • fromHTTPFile(file: string): Promise<false | RequestData>
  • Creates a request data object from a HTTP file.

    Parameters

    • file: string

      The path to the file.

    Returns Promise<false | RequestData>

    The new object or (false) if failed.

removeRequest

restoreSavedRequests

  • restoreSavedRequests(): Promise<void>
  • Restores all saved requests.

    Returns Promise<void>

saveOpenRequests

  • saveOpenRequests(): Promise<void>

startNewRequest

Generated using TypeDoc