#import @class MTContext; @class MTRequest; @class MTApiEnvironment; @class MTRequestMessageService; @protocol MTRequestMessageServiceDelegate @optional - (void)requestMessageServiceAuthorizationRequired:(MTRequestMessageService *)requestMessageService; - (void)requestMessageServiceDidCompleteAllRequests:(MTRequestMessageService *)requestMessageService; @end @interface MTRequestMessageService : NSObject @property (nonatomic, weak) id delegate; @property (nonatomic, strong) MTApiEnvironment *apiEnvironment; @property (nonatomic) bool forceBackgroundRequests; @property (nonatomic, copy) void (^didReceiveSoftAuthResetError)(void); - (instancetype)initWithContext:(MTContext *)context; - (void)addRequest:(MTRequest *)request; - (void)removeRequestByInternalId:(id)internalId; - (void)removeRequestByInternalId:(id)internalId askForReconnectionOnDrop:(bool)askForReconnectionOnDrop; - (void)requestCount:(void (^)(NSUInteger requestCount))completion; @end