AngularTS
Preparing search index...
HttpService
Interface HttpService
Runtime surface of the
$http
service and its shorthand request methods.
interface
HttpService
{
defaults
:
HttpProviderDefaults
;
pendingRequests
:
RequestConfig
[]
;
delete
<
T
>
(
url
:
string
,
config
?:
RequestShortcutConfig
)
:
HttpPromise
<
T
>
;
get
<
T
>
(
url
:
string
,
config
?:
RequestShortcutConfig
)
:
HttpPromise
<
T
>
;
head
<
T
>
(
url
:
string
,
config
?:
RequestShortcutConfig
)
:
HttpPromise
<
T
>
;
patch
<
T
>
(
url
:
string
,
data
:
any
,
config
?:
RequestShortcutConfig
,
)
:
HttpPromise
<
T
>
;
post
<
T
>
(
url
:
string
,
data
:
any
,
config
?:
RequestShortcutConfig
,
)
:
HttpPromise
<
T
>
;
put
<
T
>
(
url
:
string
,
data
:
any
,
config
?:
RequestShortcutConfig
,
)
:
HttpPromise
<
T
>
;
<
T
>
(
config
:
RequestConfig
)
:
HttpPromise
<
T
>
;
}
HttpService
<
T
>
(
config
:
RequestConfig
)
:
HttpPromise
<
T
>
Type Parameters
T
Parameters
config
:
RequestConfig
Returns
HttpPromise
<
T
>
Index
Properties
defaults
pending
Requests
Methods
delete
get
head
patch
post
put
Properties
defaults
defaults
:
HttpProviderDefaults
pending
Requests
pendingRequests
:
RequestConfig
[]
Methods
delete
delete
<
T
>
(
url
:
string
,
config
?:
RequestShortcutConfig
)
:
HttpPromise
<
T
>
Type Parameters
T
Parameters
url
:
string
Optional
config
:
RequestShortcutConfig
Returns
HttpPromise
<
T
>
get
get
<
T
>
(
url
:
string
,
config
?:
RequestShortcutConfig
)
:
HttpPromise
<
T
>
Type Parameters
T
Parameters
url
:
string
Optional
config
:
RequestShortcutConfig
Returns
HttpPromise
<
T
>
head
head
<
T
>
(
url
:
string
,
config
?:
RequestShortcutConfig
)
:
HttpPromise
<
T
>
Type Parameters
T
Parameters
url
:
string
Optional
config
:
RequestShortcutConfig
Returns
HttpPromise
<
T
>
patch
patch
<
T
>
(
url
:
string
,
data
:
any
,
config
?:
RequestShortcutConfig
)
:
HttpPromise
<
T
>
Type Parameters
T
Parameters
url
:
string
data
:
any
Optional
config
:
RequestShortcutConfig
Returns
HttpPromise
<
T
>
post
post
<
T
>
(
url
:
string
,
data
:
any
,
config
?:
RequestShortcutConfig
)
:
HttpPromise
<
T
>
Type Parameters
T
Parameters
url
:
string
data
:
any
Optional
config
:
RequestShortcutConfig
Returns
HttpPromise
<
T
>
put
put
<
T
>
(
url
:
string
,
data
:
any
,
config
?:
RequestShortcutConfig
)
:
HttpPromise
<
T
>
Type Parameters
T
Parameters
url
:
string
data
:
any
Optional
config
:
RequestShortcutConfig
Returns
HttpPromise
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
defaults
pending
Requests
Methods
delete
get
head
patch
post
put
AngularTS
Loading...
Runtime surface of the
$httpservice and its shorthand request methods.