BBRequestSerializerDelegate

The BBRequestSerializerDelegate is how you can alter all of the NSURLRequests used by the framework.

BBRequestSerializerDelegate
BBRequestSerializerDelegate
@protocol BBRequestSerializerDelegate <NSObject>
- (NSMutableURLRequest *)updatedRequestForURLRequest:(NSMutableURLRequest *)request;
@end

Methods

updatedRequestForURLRequest
updatedRequestForURLRequest
- (NSMutableURLRequest *)updatedRequestForURLRequest:(NSMutableURLRequest *)request;

updatedRequestForURLRequest The Framework passes your delegate every NSMutableURLRequest for you to modify as you see fit. You can add/alter headers or perform any other transformation. Be sure to return a valid NSMutableURLRequest.

updatedRequestForURLRequest

This method can be called from any thread.