RLMResponse

@interface RLMResponse : NSObject

The contents of an HTTP response.

  • The status code of the HTTP response.

    Declaration

    Objective-C

    @property (nonatomic) NSInteger httpStatusCode;

    Swift

    var httpStatusCode: Int { get set }
  • A custom status code provided by the SDK.

    Declaration

    Objective-C

    @property (nonatomic) NSInteger customStatusCode;

    Swift

    var customStatusCode: Int { get set }
  • The headers of the HTTP response.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nonnull headers;

    Swift

    var headers: [String : String] { get set }
  • The body of the HTTP response.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nonnull body;

    Swift

    var body: String { get set }