TTBatchRouteResponse

@interface TTBatchRouteResponse : NSObject

Visitable collection of batch route responses.

  • Method allows to visit results returned from batch route depends of their type.

    Declaration

    Objective-C

    - (void)visit:(id<TTBatchRouteVisistor> _Nonnull)visitor;

    Swift

    func visit(_ visitor: TTBatchRouteVisistor)

    Parameters

    visitor

    id

  • Total number of requests sent to server

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) NSUInteger totalRequests;

    Swift

    var totalRequests: UInt { get }
  • Number of successful requestes returned from server.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) NSUInteger totalSuccessfulRequests;

    Swift

    var totalSuccessfulRequests: UInt { get }
  • Response HTTP headers.

    Declaration

    Objective-C

    - (id)HTTPHeaders;

    Swift

    func httpHeaders() -> Any!