Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProxyOptions

Proxy options.

Hierarchy

  • ProxyOptions

Index

Constructors

constructor

  • Returns ProxyOptions

  • Parameters

    Returns ProxyOptions

Methods

getCacheOptions

  • Set the cache options that configures the proxy.

    null cache options disables caching, by default cache is disabled.

    Returns CacheOptions

getSupportWebSocket

  • getSupportWebSocket(): boolean
  • Set whether WebSocket are supported.

    Returns boolean

setCacheOptions

  • Set the cache options that configures the proxy.

    null cache options disables caching, by default cache is disabled.

    Parameters

    Returns ProxyOptions

setSupportWebSocket

  • setSupportWebSocket(supportWebSocket: boolean): ProxyOptions
  • Set whether WebSocket are supported.

    Parameters

    • supportWebSocket: boolean

    Returns ProxyOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc