Search
Preparing search index...
The search index is not available
@ema/core
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
HttpClient
Class HttpClient
Hierarchy
HttpClient
HttpService
Index
Constructors
constructor
Accessors
interceptors
Methods
apply
Interceptors
delete
flush
Interceptors
get
post
preflight
Get
put
query
Params
register
Interceptor
unregister
Interceptor
Object literals
options
Default
Constructors
constructor
new
Http
Client
(
)
:
HttpClient
Returns
HttpClient
Accessors
interceptors
get
interceptors
(
)
:
any
[]
Returns
any
[]
Methods
apply
Interceptors
apply
Interceptors
(
options
:
any
)
:
any
[]
Parameters
options:
any
Returns
any
[]
delete
delete
(
url
:
string
, object
:
any
, options
:
any
)
:
void
Parameters
url:
string
object:
any
options:
any
Returns
void
flush
Interceptors
flush
Interceptors
(
)
:
void
Returns
void
get
get
(
url
:
string
, options
?:
any
)
:
Promise
<
any
>
Parameters
url:
string
Default value
options:
any
= {}
Returns
Promise
<
any
>
post
post
(
url
:
string
, object
:
any
, options
:
any
)
:
void
Parameters
url:
string
object:
any
options:
any
Returns
void
preflight
Get
preflight
Get
(
url
:
string
, options
?:
any
)
:
object
Parameters
url:
string
Default value
options:
any
= {}
Returns
object
put
put
(
url
:
string
, object
:
any
, options
:
any
)
:
void
Parameters
url:
string
object:
any
options:
any
Returns
void
query
Params
query
Params
(
params
:
any
)
:
string
Parameters
params:
any
Returns
string
register
Interceptor
register
Interceptor
(
obj
:
any
)
:
void
Parameters
obj:
any
Returns
void
unregister
Interceptor
unregister
Interceptor
(
obj
:
any
)
:
void
Parameters
obj:
any
Returns
void
Object literals
options
Default
options
Default
:
object
cache
cache
:
string
= "no-cache"
credentials
credentials
:
string
= "same-origin"
headers
headers
:
object
Type declaration
method
method
:
string
= "GET"
mode
mode
:
string
= "same-origin"
Globals
Base
Service
Browser
Config
Config
Service
Css
Dom
Util
Http
Client
constructor
interceptors
apply
Interceptors
delete
flush
Interceptors
get
post
preflight
Get
put
query
Params
register
Interceptor
unregister
Interceptor
options
Default
Http
Service
Loader
Object
Util
Permissions
Permissions
Service
Server
Storage
String
Util
Translate
Translate
Service
User
Util
once
config
Defaults
en
form
Definitions
i18n
nl
validation
Constants