MobileServiceClient.withFilter function
Creates a new MobileServiceClient object with a filter used to process HTTP requests and responses.
mobileServiceClient.withFilter(serviceFilter);
Parameters
serviceFilter
Type: FunctionThe filter to use on the service. The signature of a serviceFilter is
function(request, next, callback)
, where next is a function with the signaturefunction(request, callback)
and callback is a function with the signaturefunction(error, response)
.
Return Value
Type: MobileServiceClient
A new MobileServiceClient object with filtering applied to HTTP requests and responses.
.NET Framework Equivalent
Requirements
Namespace |
WindowsAzure.MobileServices |
Library |
MobileServices.js |
See Also
Reference
Other Resources
How to use an HTML/JavaScript client for Azure Mobile Services