Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HttpWebRequestSender

An HTTP web request sender.

Hierarchy

  • Dynamic
    • HttpWebRequestSender

Index

Constructors

constructor

Properties

Private __disableJsonp

__disableJsonp: boolean
internal

Private __forceJsonp

__forceJsonp: boolean
internal

Private _disableCors

_disableCors: boolean
internal

Private _disablePostMessage

_disablePostMessage: boolean
internal

Methods

getDisableCors

  • getDisableCors(): boolean
  • Gets a value indicating whether to disable the cross-origin resource sharing (CORS) transport.

    Returns boolean

getDisableJsonp

  • getDisableJsonp(): boolean
  • Gets a value indicating whether to disable the JSON-P transport.

    Returns boolean

getDisablePostMessage

  • getDisablePostMessage(): boolean
  • Gets a value indicating whether to disable the postMessage transport.

    Returns boolean

getDynamicProperties

  • getDynamicProperties(): Hash<string, Object>
  • Gets the dynamic properties on this instance.

    Returns Hash<string, Object>

getDynamicValue

  • getDynamicValue(key: string): Object
  • Gets a property value from the local cache.

    Parameters

    • key: string

      The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.

    Returns Object

    The stored value, if found; otherwise null.

getForceJsonp

  • getForceJsonp(): boolean
  • Gets a value indicating whether to force the JSON-P transport.

    Returns boolean

getIsDirty

  • getIsDirty(): boolean
  • Gets a value indicating whether this instance is dirty.
    internal

    Returns boolean

getIsSerialized

  • getIsSerialized(): boolean

getSerialized

  • getSerialized(): string

getTypeString

  • getTypeString(): string

setDisableCors

  • setDisableCors(value: boolean): void
  • Sets a value indicating whether to disable the cross-origin resource sharing (CORS) transport.

    Parameters

    • value: boolean

    Returns void

setDisableJsonp

  • setDisableJsonp(value: boolean): void
  • Sets a value indicating whether to disable the JSON-P transport.

    Parameters

    • value: boolean

    Returns void

setDisablePostMessage

  • setDisablePostMessage(value: boolean): void
  • Sets a value indicating whether to disable the postMessage transport.

    Parameters

    • value: boolean

    Returns void

setDynamicProperties

  • setDynamicProperties(value: Hash<string, Object>): void
  • internal

    Parameters

    • value: Hash<string, Object>

    Returns void

setDynamicValue

  • setDynamicValue(key: string, value: Object): void
  • Sets a property value in the local cache.

    Parameters

    • key: string

      The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.

    • value: Object

      The property value. This can be any object that needs to be stored for future use.

    Returns void

setForceJsonp

  • setForceJsonp(value: boolean): void
  • Sets a value indicating whether to force the JSON-P transport.

    Parameters

    • value: boolean

    Returns void

setIsDirty

  • setIsDirty(value: boolean): void
  • Sets a value indicating whether this instance is dirty.
    internal

    Parameters

    • value: boolean

    Returns void

setIsSerialized

  • setIsSerialized(value: boolean): void
  • internal

    Parameters

    • value: boolean

    Returns void

setSerialized

  • setSerialized(value: string): void
  • internal

    Parameters

    • value: string

    Returns void

unsetDynamicValue

  • unsetDynamicValue(key: string): boolean
  • Unsets a property value in the local cache.

    Parameters

    • key: string

      The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.

    Returns boolean

    true if the value was removed; otherwise, false.