Skip to content

URI path filter block

Sergey edited this page Jul 28, 2018 · 5 revisions

YHVPathFilterBlock

This block can be provided during VCR configuration to make it possible to remove sensitive data from URI path segment, before request will be recorded.

Block signature shown below:

^NSString * (NSURLRequest *request);

PARAMETERS

Name Type Description
request NSURLRequest Reference on request for which path filtering has been performed.

RETURNS

Reference on string which should be used instead of esiting URI path for request.

Clone this wiki locally