Search
Preparing search index...
The search index is not available
@web-atoms/core
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"web/samples/MovieService"
MovieService
Class MovieService
Hierarchy
BaseService
MovieService
Index
Constructors
constructor
Properties
app
base
Url
headers
json
Options
json
Service
method
Returns
methods
show
Error
show
Progress
test
Mode
base
Urls
Methods
ajax
country
List
encode
Data
invoke
parse
Headers
send
Result
Constructors
constructor
new
Movie
Service
(
app
:
App
, jsonService
:
JsonService
)
:
MovieService
Parameters
app:
App
jsonService:
JsonService
Returns
MovieService
Properties
Protected
app
app
:
App
base
Url
base
Url
:
string
headers
headers
:
object
= null
Type declaration
[
key:
string
]:
string
|
number
|
null
|
undefined
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
>
country
List
country
List
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
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
"web/samples/
Movie
Service"
Movie
Service
constructor
app
base
Url
headers
json
Options
json
Service
method
Returns
methods
show
Error
show
Progress
test
Mode
base
Urls
ajax
country
List
encode
Data
invoke
parse
Headers
send
Result
Generated using
TypeDoc