Search
Preparing search index...
The search index is not available
@ema/core
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
HttpService
Class HttpService
Hierarchy
HttpClient
HttpService
Index
Constructors
constructor
Accessors
interceptors
type
instance
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
Service
(
enforcer
:
any
)
:
HttpService
Parameters
enforcer:
any
Returns
HttpService
Accessors
interceptors
get
interceptors
(
)
:
any
[]
Returns
any
[]
type
get
type
(
)
:
string
set
type
(
value
:
string
)
:
void
Returns
string
Parameters
value:
string
Returns
void
Static
instance
get
instance
(
)
:
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
Http
Service
constructor
interceptors
type
instance
apply
Interceptors
delete
flush
Interceptors
get
post
preflight
Get
put
query
Params
register
Interceptor
unregister
Interceptor
options
Default
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