Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
ng
IHttpBackendService
Interface IHttpBackendService
Index
Call signatures
Methods
expect
expectDELETE
expectGET
expectHEAD
expectJSONP
expectPATCH
expectPOST
expectPUT
flush
resetExpectations
verifyNoOutstandingExpectation
verifyNoOutstandingRequest
when
whenDELETE
whenGET
whenHEAD
whenJSONP
whenPATCH
whenPOST
whenPUT
Call signatures
(
method
:
string
, url
:
string
, post
?:
any
, callback
?:
Function
, headers
?:
any
, timeout
?:
number
, withCredentials
?:
boolean
)
Parameters
method:
string
url:
string
post?:
any
optional
callback?:
Function
optional
headers?:
any
optional
timeout?:
number
optional
withCredentials?:
boolean
optional
Methods
public
expect
(
method
:
string
, url
:
string
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
string
, data
?:
string
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
string
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
string
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
string
, data
?:
RegExp
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
RegExp
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
string
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
string
, data
?:
(data: string) => boolean
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
(data: string) => boolean
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
string
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
string
, data
?:
Object
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
Object
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
RegExp
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
RegExp
, data
?:
string
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
string
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
RegExp
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
RegExp
, data
?:
RegExp
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
RegExp
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
RegExp
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
RegExp
, data
?:
(data: string) => boolean
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
(data: string) => boolean
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
RegExp
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expect
(
method
:
string
, url
:
RegExp
, data
?:
Object
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
Object
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
expectDELETE
(
url
:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
headers?:
Object
optional
Returns
IRequestHandler
public
expectDELETE
(
url
:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
headers?:
Object
optional
Returns
IRequestHandler
public
expectGET
(
url
:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
headers?:
Object
optional
Returns
IRequestHandler
public
expectGET
(
url
:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
headers?:
Object
optional
Returns
IRequestHandler
public
expectHEAD
(
url
:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
headers?:
Object
optional
Returns
IRequestHandler
public
expectHEAD
(
url
:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
headers?:
Object
optional
Returns
IRequestHandler
public
expectJSONP
(
url
:
string
)
:
IRequestHandler
Parameters
url:
string
Returns
IRequestHandler
public
expectJSONP
(
url
:
RegExp
)
:
IRequestHandler
Parameters
url:
RegExp
Returns
IRequestHandler
public
expectPATCH
(
url
:
string
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPATCH
(
url
:
string
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPATCH
(
url
:
string
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPATCH
(
url
:
string
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPATCH
(
url
:
RegExp
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPATCH
(
url
:
RegExp
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPATCH
(
url
:
RegExp
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPATCH
(
url
:
RegExp
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPOST
(
url
:
string
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPOST
(
url
:
string
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPOST
(
url
:
string
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPOST
(
url
:
string
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPOST
(
url
:
RegExp
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPOST
(
url
:
RegExp
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPOST
(
url
:
RegExp
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPOST
(
url
:
RegExp
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPUT
(
url
:
string
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPUT
(
url
:
string
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPUT
(
url
:
string
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPUT
(
url
:
string
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPUT
(
url
:
RegExp
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPUT
(
url
:
RegExp
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPUT
(
url
:
RegExp
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
expectPUT
(
url
:
RegExp
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
flush
(
count
?:
number
)
Parameters
count?:
number
optional
public
resetExpectations
(
)
public
verifyNoOutstandingExpectation
(
)
public
verifyNoOutstandingRequest
(
)
public
when
(
method
:
string
, url
:
string
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
string
, data
?:
string
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
string
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
string
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
string
, data
?:
RegExp
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
RegExp
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
string
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
string
, data
?:
(data: string) => boolean
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
(data: string) => boolean
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
string
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
string
, data
?:
Object
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
string
data?:
Object
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
RegExp
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
RegExp
, data
?:
string
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
string
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
RegExp
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
RegExp
, data
?:
RegExp
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
RegExp
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
RegExp
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
RegExp
, data
?:
(data: string) => boolean
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
(data: string) => boolean
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
RegExp
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
when
(
method
:
string
, url
:
RegExp
, data
?:
Object
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
method:
string
url:
RegExp
data?:
Object
optional
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
whenDELETE
(
url
:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
headers?:
Object
optional
Returns
IRequestHandler
public
whenDELETE
(
url
:
string
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
url:
string
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
whenDELETE
(
url
:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
headers?:
Object
optional
Returns
IRequestHandler
public
whenDELETE
(
url
:
RegExp
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
url:
RegExp
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
whenGET
(
url
:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
headers?:
Object
optional
Returns
IRequestHandler
public
whenGET
(
url
:
string
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
url:
string
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
whenGET
(
url
:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
headers?:
Object
optional
Returns
IRequestHandler
public
whenGET
(
url
:
RegExp
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
url:
RegExp
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
whenHEAD
(
url
:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
headers?:
Object
optional
Returns
IRequestHandler
public
whenHEAD
(
url
:
string
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
url:
string
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
whenHEAD
(
url
:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
headers?:
Object
optional
Returns
IRequestHandler
public
whenHEAD
(
url
:
RegExp
, headers
?:
(object: Object) => boolean
)
:
IRequestHandler
Parameters
url:
RegExp
headers?:
(object: Object) => boolean
optional
Returns
IRequestHandler
public
whenJSONP
(
url
:
string
)
:
IRequestHandler
Parameters
url:
string
Returns
IRequestHandler
public
whenJSONP
(
url
:
RegExp
)
:
IRequestHandler
Parameters
url:
RegExp
Returns
IRequestHandler
public
whenPATCH
(
url
:
string
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPATCH
(
url
:
string
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPATCH
(
url
:
string
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPATCH
(
url
:
string
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPATCH
(
url
:
RegExp
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPATCH
(
url
:
RegExp
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPATCH
(
url
:
RegExp
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPATCH
(
url
:
RegExp
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPOST
(
url
:
string
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPOST
(
url
:
string
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPOST
(
url
:
string
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPOST
(
url
:
string
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPOST
(
url
:
RegExp
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPOST
(
url
:
RegExp
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPOST
(
url
:
RegExp
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPOST
(
url
:
RegExp
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPUT
(
url
:
string
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPUT
(
url
:
string
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPUT
(
url
:
string
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPUT
(
url
:
string
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
string
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPUT
(
url
:
RegExp
, data
?:
string
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
string
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPUT
(
url
:
RegExp
, data
?:
RegExp
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
RegExp
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPUT
(
url
:
RegExp
, data
?:
(data: string) => boolean
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
(data: string) => boolean
optional
headers?:
Object
optional
Returns
IRequestHandler
public
whenPUT
(
url
:
RegExp
, data
?:
Object
, headers
?:
Object
)
:
IRequestHandler
Parameters
url:
RegExp
data?:
Object
optional
headers?:
Object
optional
Returns
IRequestHandler
Globals
jquery
ng
ng.auto
ng.mock
IAnchorScrollProvider
IAnchorScrollService
IAngularEvent
IAngularStatic
IAnimateService
IAttributes
IAugmentedJQuery
IAugmentedJQueryStatic
IBrowserService
ICacheFactoryService
ICacheObject
ICloneAttachFunction
ICompileProvider
ICompileService
ICompiledExpression
IControllerProvider
IControllerService
IDeferred
IDirective
IDocumentService
IExceptionHandlerProvider
IExceptionHandlerService
IFilterProvider
IFilterService
IFormController
IHttpBackendService
expect
expectDELETE
expectGET
expectHEAD
expectJSONP
expectPATCH
expectPOST
expectPUT
flush
resetExpectations
verifyNoOutstandingExpectation
verifyNoOutstandingRequest
when
whenDELETE
whenGET
whenHEAD
whenJSONP
whenPATCH
whenPOST
whenPUT
IHttpPromise
IHttpPromiseCallback
IHttpPromiseCallbackArg
IHttpProvider
IHttpService
IInterpolateProvider
IInterpolateService
IInterpolationFunction
IIntervalService
ILocaleDateTimeFormatDescriptor
ILocaleNumberFormatDescriptor
ILocaleNumberPatternDescriptor
ILocaleService
ILocationProvider
ILocationService
ILogCall
ILogProvider
ILogService
IMockStatic
IModelFormatter
IModelParser
IModule
INgModelController
IParseProvider
IParseService
IPromise
IQService
IRequestConfig
IRequestShortcutConfig
IRootElementService
IRootScopeService
ISCEDelegateProvider
ISCEDelegateService
ISCEProvider
ISCEService
IScope
IServiceProvider
ITemplateCacheService
ITemplateLinkingFunction
ITimeoutService
ITranscludeFunction
IWindowService