Class RequestExecutor

Index

Constructor methods

Methods

Constructor methods

constructor(url: string, options?: any): RequestExecutor

Parameters

  • url: string
  • options?: any optional

Returns

RequestExecutor

Methods

public attemptLogin(returnUrl: string, success: (response: SP.ResponseInfo) => void, error?: (response: SP.ResponseInfo, error: SP.RequestExecutorErrors, statusText: string) => void)

Parameters

  • returnUrl: string
  • success: (response: SP.ResponseInfo) => void
  • error?: (response: SP.ResponseInfo, error: SP.RequestExecutorErrors, statusText: string) => void optional

public executeAsync(requestInfo: RequestInfo)

Parameters

public get_formDigestHandlingEnabled(): boolean

Returns

boolean

public get_iFrameSourceUrl(): string

Returns

string

public set_formDigestHandlingEnabled(value: boolean)

Parameters

  • value: boolean

public set_iFrameSourceUrl(value: string)

Parameters

  • value: string