Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "browser"

Index

Functions

Const createAgent

  • createAgent<B>(host: Host, port?: number): Agent<object, B>
  • createAgent produces a new default Agent for use in the browser.

    Type parameters

    • B: Object

    Parameters

    • host: Host
    • Default value port: number = 80

    Returns Agent<object, B>

Const get

  • get shorthand helper.

    Note that url should consist of the domain and path combined or the path alone.

    Type parameters

    • B: Object

    Parameters

    Returns Future<Response<B>>

Private Const splitUrl

Generated using TypeDoc