Skip to content

URI query parameters filter block

Sergey edited this page Jul 28, 2018 · 3 revisions

YHVQueryParametersFilterBlock

This block can be provided during VCR configuration (instead of fixed filter map) to make it possible to remove sensitive data from URI query segment, before request will be recorded.

Block signature shown below:

^(NSURLRequest *request, NSMutableDictionary *queryParameters);

PARAMETERS

Name Type Description
request NSURLRequest Reference on request for which query filtering has been performed.
queryParameters NSMutableDictionary Reference on dictionary with URI queries which can be modified.

Clone this wiki locally