Search
Preparing search index...
The search index is not available
@web-atoms/core
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"services/http/RestService"
BaseService
Class BaseService
export
class
BaseService
Hierarchy
BaseService
MovieService
Index
Constructors
constructor
Properties
app
base
Url
json
Options
json
Service
method
Returns
methods
show
Error
show
Progress
test
Mode
base
Urls
Methods
ajax
encode
Data
invoke
parse
Headers
send
Result
Constructors
constructor
new
Base
Service
(
app
:
App
, jsonService
:
JsonService
)
:
BaseService
Parameters
app:
App
jsonService:
JsonService
Returns
BaseService
Properties
Protected
app
app
:
App
base
Url
base
Url
:
string
json
Options
json
Options
:
IJsonParserOptions
= null
json
Service
json
Service
:
JsonService
method
Returns
method
Returns
:
any
methods
methods
:
any
show
Error
show
Error
:
boolean
= false
show
Progress
show
Progress
:
boolean
= true
test
Mode
test
Mode
:
boolean
= false
Static
base
Urls
base
Urls
:
object
Type declaration
[
key:
string
]:
string
Methods
Protected
ajax
ajax
(
url
:
string
, options
:
AjaxOptions
)
:
Promise
<
AjaxOptions
>
Parameters
url:
string
options:
AjaxOptions
Returns
Promise
<
AjaxOptions
>
Protected
encode
Data
encode
Data
(
o
:
AjaxOptions
)
:
AjaxOptions
Parameters
o:
AjaxOptions
Returns
AjaxOptions
Protected
invoke
invoke
(
url
:
string
, method
:
string
, bag
:
ServiceParameter
[]
, values
:
any
[]
, methodOptions
:
IMethodOptions
)
:
Promise
<
any
>
Parameters
url:
string
method:
string
bag:
ServiceParameter
[]
values:
any
[]
methodOptions:
IMethodOptions
Returns
Promise
<
any
>
Protected
parse
Headers
parse
Headers
(
headers
:
string
|
any
)
:
IHttpHeaders
Parameters
headers:
string
|
any
Returns
IHttpHeaders
Protected
send
Result
send
Result
(
result
:
any
, error
?:
any
)
:
Promise
<
any
>
Parameters
result:
any
Optional
error:
any
Returns
Promise
<
any
>
Globals
"services/http/
Rest
Service"
Base
Service
constructor
app
base
Url
json
Options
json
Service
method
Returns
methods
show
Error
show
Progress
test
Mode
base
Urls
ajax
encode
Data
invoke
parse
Headers
send
Result
Service
Parameter
IApi
Response
IHttp
Headers
IMethod
Options
Rest
Attr
Rest
Method
Attr
Rest
Param
Attr
Body
Body
Form
Model
Delete
Get
Header
Patch
Path
Post
Put
Queries
Query
Raw
Body
Xml
Body
Base
Url
Cancel
Generated using
TypeDoc
BaseService