MSFilter Protocol Reference

Conforms to NSObject
Declared in MSFilter.h

Overview

The MSFilter protocol allows developers to implement a class that can inspect and/or replace HTTP request and HTTP response messages being sent and received by an MSClient instance.

Modify the request

– handleRequest:next:response: required method

Allows for the inspection and/or modification of the HTTP request and HTTP response messages being sent and received by an MSClient instance.

- (void)handleRequest:(NSURLRequest *)request next:(MSFilterNextBlock)next response:(MSFilterResponseBlock)response

Discussion

Allows for the inspection and/or modification of the HTTP request and HTTP response messages being sent and received by an MSClient instance.

Declared In

MSFilter.h