NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view in github
Search
NativeScript Angular
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"http-client/ns-http-backend"
External module "http-client/ns-http-backend"
Globals
"http-
client/ns-
http-
backend"
Ns
Http
Back
End
create
Error
Response
create
Success
Response
Index
Classes
Ns
Http
Back
End
Functions
create
Error
Response
create
Success
Response
Functions
create
Error
Response
create
Error
Response
(
url
:
string
, body
:
any
, status
:
number
)
:
HttpErrorResponse
Parameters
url:
string
body:
any
status:
number
Returns
HttpErrorResponse
create
Success
Response
create
Success
Response
(
url
:
string
, body
:
any
, status
:
number
)
:
HttpEvent
<
any
>
Parameters
url:
string
body:
any
status:
number
Returns
HttpEvent
<
any
>
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
🐛 Debug your mobile network traffic with Fiddler! Try it on
iOS
or
Android