Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RequestOptsPro<D, T>

Type parameters

  • D

  • T

Hierarchy

  • RequestOptsPro

Index

Properties

Optional acceptMethods

acceptMethods: Array<Method>

Methods allowed To use

Optional addBackSlash

addBackSlash: undefined | false | true

size for request per page

Optional ajaxRequestOptions

ajaxRequestOptions: AjaxRequest

Optional catchError

catchError: undefined | ((error: AjaxError) => void)

catchError for both http response error and data.code!=200 error

Optional catchMsg

catchMsg: undefined | ((msg: string) => void)

catchMsg return by error response msg or default system msg

Optional contentType

contentType: "application/x-www-form-urlencoded" | "multipart/form-data" | "application/json" | "text/plain"

Optional idAttribute

idAttribute: undefined | string

Optional parseData

parseData: ProParseDataFC<D, T>

Generated using TypeDoc