Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HttpPostMessage

Hierarchy

  • HttpPostMessage

Index

Constructors

constructor

Properties

defaultHeaders

defaultHeaders: any

defaultTargetWindow

defaultTargetWindow: Window

windowPostMessageProxy

windowPostMessageProxy: IPostMessage

Methods

Private assign

  • assign(target: any, ...sources: any[]): any

delete

  • delete<T>(url: string, body?: any, headers?: any, targetWindow?: Window): unknown
  • Type parameters

    • T

    Parameters

    • url: string
    • Default value body: any = null
    • Default value headers: any = {}
    • Default value targetWindow: Window = this.defaultTargetWindow

    Returns unknown

get

  • get<T>(url: string, headers?: any, targetWindow?: Window): unknown
  • Type parameters

    • T

    Parameters

    • url: string
    • Default value headers: any = {}
    • Default value targetWindow: Window = this.defaultTargetWindow

    Returns unknown

patch

  • patch<T>(url: string, body: any, headers?: any, targetWindow?: Window): unknown
  • Type parameters

    • T

    Parameters

    • url: string
    • body: any
    • Default value headers: any = {}
    • Default value targetWindow: Window = this.defaultTargetWindow

    Returns unknown

post

  • post<T>(url: string, body: any, headers?: any, targetWindow?: Window): unknown
  • Type parameters

    • T

    Parameters

    • url: string
    • body: any
    • Default value headers: any = {}
    • Default value targetWindow: Window = this.defaultTargetWindow

    Returns unknown

put

  • put<T>(url: string, body: any, headers?: any, targetWindow?: Window): unknown
  • Type parameters

    • T

    Parameters

    • url: string
    • body: any
    • Default value headers: any = {}
    • Default value targetWindow: Window = this.defaultTargetWindow

    Returns unknown

send

Static addTrackingProperties

  • addTrackingProperties(message: any, trackingProperties: any): any

Static getTrackingProperties

  • getTrackingProperties(message: any): any

Static isErrorMessage

  • isErrorMessage(message: any): boolean

Generated using TypeDoc