MobileServiceClient.withFilter function

Creates a new MobileServiceClient object with a filter used to process HTTP requests and responses.

mobileServiceClient.withFilter(serviceFilter);

Parameters

  • serviceFilter
    Type: Function

    The filter to use on the service. The signature of a serviceFilter is function(request, next, callback), where next is a function with the signature function(request, callback) and callback is a function with the signature function(error, response).

Return Value

Type: MobileServiceClient

A new MobileServiceClient object with filtering applied to HTTP requests and responses.

.NET Framework Equivalent

WithFilter

Requirements

Namespace

WindowsAzure.MobileServices

Library

MobileServices.js

See Also

Reference

MobileServiceClient object

Other Resources

How to use an HTML/JavaScript client for Azure Mobile Services