Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
http
HttpImpl
Class HttpImpl
Generic Http client
Hierarchy
HttpImpl
Implements
Http
Index
Constructors
constructor
Methods
delete
get
post
put
mount
Error
Constructors
constructor
new
Http
Impl
(
baseURL
:
string
)
:
HttpImpl
Creates your Http client
Parameters
baseURL:
string
The baseUrl, i.e host url
Returns
HttpImpl
Methods
delete
delete
(
url
:
string
)
:
Promise
<
HttpResponse
>
Parameters
url:
string
Returns
Promise
<
HttpResponse
>
get
get
(
url
:
string
)
:
Promise
<
HttpResponse
>
Parameters
url:
string
Returns
Promise
<
HttpResponse
>
post
post
(
url
:
string
, payload
:
any
)
:
Promise
<
HttpResponse
>
Parameters
url:
string
payload:
any
Returns
Promise
<
HttpResponse
>
put
put
(
url
:
string
, payload
:
any
)
:
Promise
<
HttpResponse
>
Parameters
url:
string
payload:
any
Returns
Promise
<
HttpResponse
>
Static
mount
Error
mount
Error
(
url
:
string
, error
:
any
)
:
HttpError
Parameters
url:
string
error:
any
Returns
HttpError
Globals
core
core.api
core.api.factories
crypto
http
util
Http
Error
Http
Impl
constructor
delete
get
post
put
mount
Error
Http
Mock
Builder
Http
Response
Http
Generated using
TypeDoc
Generic Http client